Bug #67690 [NEW]: __DIR__ does not work with eacute

From: Date: Sun, 27 Jul 2014 07:57:14 +0000
Subject: Bug #67690 [NEW]: __DIR__ does not work with eacute
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186827@lists.php.net to get a copy of this message
From: lingtalfi at gmail dot com Operating system: MacOSX 10.5.8 PHP version: Irrelevant Package: Directory function related Bug Type: Bug Bug description:__DIR__ does not work with eacute Description: ------------ Let create 2 files in a folder with name "dir": - x.php - x2.php Let put the following content in x.php: require_once 'x2.php'; $a = __DIR__; var_dump($a === $b); and the following content in x2.php: $b = __DIR__; Let's open x.php in a browser, it outputs true. Let's now repeat the same steps but within a folder named "diré". The output is false (in my case). -- Edit bug report at https://bugs.php.net/bug.php?id=67690&edit=1 --

« previous php.bugs (#186827) next »