In PHP5 you don’t do it like
$char = $string{2};
Do it like:
$char = $string[2];
The curly braces syntax is deprecated!
In PHP5 you don’t do it like
$char = $string{2};
Do it like:
$char = $string[2];
The curly braces syntax is deprecated!
No comments yet.
RSS feed for comments on this post. TrackBack URL