|
Posted by J.O. Aho on 09/03/06 12:13
kenoli wrote:
> I often see syntax used in code snippets that is different than that
> indicated in the php manual, at least in the main topic pages.
How do you mean differs?
like:
$str1 = substr('abcdef', 1);
$str2 = substr('abcdef', 0, 8);
or?
> Is there somewhere that I can find alternative syntax documented?
The online manual gives you the valid syntaxes, or course they don't give all
the examples how you can use functions.
> I suspect that in some cases this may be a matter of the author using C
> syntax that is slightly different than php syntax.
PHP don't understand any other syntax than PHP.
//Aho
Navigation:
[Reply to this message]
|