Re: Has this always been the case?

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

 



On 31 May 2013, at 12:08, shiplu <shiplu.net@xxxxxxxxx> wrote:

> The property initializer in PHP can not have any expression. It should be constant value.

That is not entirely correct. It must be a literal value. The expression 'a'.'b' is a constant value.

I may be being overly picky here, but I think it's an important distinction.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/

-- 
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