Re: Re: cvs: php-src(PHP_5_3) / run-tests.php
| From: | Johannes Schlüter | Date: | Tue, 09 Dec 2008 14:41:59 +0000 |
| Subject: | Re: Re: cvs: php-src(PHP_5_3) / run-tests.php | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-54805@lists.php.net to get a copy of this message | ||
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