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
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
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
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
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
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