2010/2/11 Jim Lucas
> Dasn wrote:
>
>> I got the syntax error. Why?
>>
>
>
only constant literal is allowed.
You can think that it is static complie but not on runtime .
Regards,
Eric,
> Read the first paragraph on the following page.
>
> http://us3.php.net/manual/en/language.oop5.propertie
Dasn wrote:
I got the syntax error. Why?
Read the first paragraph on the following page.
http://us3.php.net/manual/en/language.oop5.properties.php
[quote]
... This declaration may include an initialization, but this initialization must be a constant
value--that is, it must be able to be eva
Hello guys, I encountered a syntax error, and cannot figure out the
reason, for example:
== CODE ==
1:'str1'.'str2');
3:?>
===
Works fine, but when I try to put it into a class, say:
==
3 matches
Mail list logo