You are here: Re: alternative php syntax « All PHP « IT news, forums, messages
Re: alternative php syntax

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация