Re: [PHP-CVS] Re: cvs: php-src(PHP_5_3) / run-tests.php

2008-12-09 Thread Jani Taskinen
Hannes Magnusson wrote: On Tue, Dec 9, 2008 at 10:15, Jani Taskinen [EMAIL PROTECTED] wrote: Johannes Schlüter wrote: On Mon, 2008-12-08 at 12:36 +, Jani Taskinen wrote: +// If __DIR__ is not defined, define it +if (!defined('__DIR__')) { defined() will always return true ... Huh? Are

Re: [PHP-CVS] Re: cvs: php-src(PHP_5_3) / run-tests.php

2008-12-09 Thread Hannes Magnusson
On Tue, Dec 9, 2008 at 10:15, Jani Taskinen [EMAIL PROTECTED] wrote: Johannes Schlüter wrote: On Mon, 2008-12-08 at 12:36 +, Jani Taskinen wrote: +// If __DIR__ is not defined, define it +if (!defined('__DIR__')) { defined() will always return true ... Huh? Are you absolutely sure

Re: [PHP-CVS] Re: cvs: php-src(PHP_5_3) / run-tests.php

2008-12-09 Thread Johannes Schlüter
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

Re: [PHP-CVS] Re: cvs: php-src(PHP_5_3) / run-tests.php

2008-12-09 Thread Jani Taskinen
Johannes Schlüter wrote: 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

[PHP-CVS] Re: cvs: php-src(PHP_5_3) / run-tests.php

2008-12-08 Thread Johannes Schlüter
On Mon, 2008-12-08 at 12:36 +, Jani Taskinen wrote: +// If __DIR__ is not defined, define it +if (!defined('__DIR__')) { defined() will always return true ... + define('__DIR__', realpath(dirname(__FILE__))); ... but this will never throw an error. $ sapi/cli/php -d

[PHP-CVS] Re: cvs: php-src(PHP_5_3) / run-tests.php

2007-12-06 Thread Johannes Schlüter
Hi Marcus, what's with HEAD? johannes On Wed, 2007-12-05 at 14:54 +, Marcus Boerger wrote: helly Wed Dec 5 14:54:08 2007 UTC Modified files: (Branch: PHP_5_3) /php-src run-tests.php Log: - - Allow to check the out,exp and diff results on console