> From: mel list_php [mailto:[EMAIL PROTECTED]
> My question is :
> 1/ the normal syntax into the brackets: with ", ' or nothing?
> I think it
> should be "" but I'm unsure.
Single quotes, but check out http://au2.php.net/types.string for details
> 2/it's working with other words wihtout the quotes (eg
> is it because private is a reserved word or something?
yep. PHP interprets any word it doesn't recognise as a constant, which
it worked before.
if you do this
error_reporting(E_ALL | E_STRICT);
You'll get this:
Notice: Use of undefined constant something_not_defined - assumed
but if you change something_not_defined to a reserved word like private,
you'll get a parse error as you found.
> idea where I
> could find a list?
I don't know about a list as such, but http://www.php.net/manual/en/
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php