|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests |
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Jan 06 17:00:01 2026 UTC |
dirname() in windows works inconsistently. dirname("/a/b") returns "/a" but dirname("/") returns "\" This makes writing portable code which will work on Unix and Windows problematic. I've looked at ext/standard/string.c and I think the fix would be to replace all occurrences of DEFAULT_SLASH with "/"