Re: Language construct

From: Date: Tue, 20 Feb 2007 14:50:09 +0000
Subject: Re: Language construct
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249085@lists.php.net to get a copy of this message
echo, include and a few others are language constructs because they are part of the language itself rather than being functions in the same category as regular functions are. This means that they are integral part of the language, just like 'if', or any operator +, *, etc, though they look pretty much like functions. It means that though syntactically they look as functions and in the manual they are listed under functions, this is only to make them easy to use, understand and locate in the documentation. That is why certain rules for functions can be relaxed, such as requiring parenthesis around its arguments, which are not actually needed but are there so that they have the same look as regular functions. Satyam ----- Original Message ----- From: "Balasubramanyam A" <knowledge.wealth@gmail.com> To: <php-general@lists.php.net> Sent: Tuesday, February 20, 2007 3:32 PM Subject: [PHP] Language construct
Hello all, I'm new to this group and I'm learning PHP. I want to know what is the exact definition for "Language Construct". Could someone please explain about this?
-------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.3/693 - Release Date: 19/02/2007 17:01

« previous php.general (#249085) next »