|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-11-01 02:03 UTC] andi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 08:00:02 2026 UTC |
PHP has changed the way it displays directory separators in a file's path when calling the __FILE__ constant. PHP 3.0.11: g:\webroot/ideasphp/bug403-filepath.htm PHP 4.0.3: g:\webroot\ideasphp\bug403-filepath.html This inconsistency is causing problems my scripts which do an explode("/", __FILE__). Guess I'll now have to swich to split("[\/]", __FILE__); for now. But doing so changes the first array element from "g:\webroot" to "g:", which requires further code rewrites.