[ create a new paste ] login | about

Link: http://codepad.org/ferFnrKW    [ raw code | output | fork ]

PHP, pasted on Apr 2:
1
2
3
4
5
<?php
$name = "aghjsghjgj";
echo $name['name'];//this echoes the first letter as name is not a valid index

echo $name[2]; 


Output:
1
ah


Create a new paste based on this one


Comments: