Re: Re: cvs: php-src(PHP_5_3) / run-tests.php
| From: | Jani Taskinen | Date: | Tue, 09 Dec 2008 15:22:10 +0000 |
| Subject: | Re: Re: cvs: php-src(PHP_5_3) / run-tests.php | ||
| References: | 1 2 3 4 5 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-54812@lists.php.net to get a copy of this message | ||
Johannes Schlüter wrote:
On Tue, 2008-12-09 at 10:56 +0100, Hannes Magnusson wrote:I fixed run-tests.php to use version id instead like you suggested earlier. :) --Janidefined() 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 :-)