note 106663 deleted from language.constants.predefined by danbrown

From: Date: Tue, 29 Nov 2011 15:44:17 +0000
Subject: note 106663 deleted from language.constants.predefined by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-184790@lists.php.net to get a copy of this message
Note Submitter: vgabor at vgabor dot com ---- Please note, the __DIR__ pre-5.3.0 implementations below (jrivero24, stefan) aren't working if you have more than one file. Constants cannot be re-defined, therefore in those cases the __DIR__ would show the file where it was first defined and not the actual file. Just as chris said, there is no way to have custom implementation for __DIR__ in versions prior to 5.3.0

« previous php.notes (#184790) next »