Re: Language construct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Tuesday, February 20, 2007 3:32 PM
Subject:  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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux