On Tue, 2008-12-09 at 10:56 +0100, Hannes Magnusson wrote:
> defined() apparently doesn't work on magic constants (__LINE__,
> __METHOD__, __FILE__...).
> The docs don't mention this so I assume johannes found a bug he should report 
> :)

If there is a bug it's in the docs I'd say as get_defined_constants(),
constant() and probably others don't know them either and I don't think
it's good to add special handling to a these functions. I didn't know
that's not in the docs so I didn't report but can do :-)

johannes


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

Reply via email to