diff --git a/reference/filesystem/functions/dirname.xml b/reference/filesystem/functions/dirname.xml
index 0d9d21de62..e5b8616c87 100644
--- a/reference/filesystem/functions/dirname.xml
+++ b/reference/filesystem/functions/dirname.xml
@@ -104,6 +104,7 @@
echo dirname("/etc/passwd") . PHP_EOL;
echo dirname("/etc/") . PHP_EOL;
echo dirname(".") . PHP_EOL;
+echo dirname("C:\\") . PHP_EOL;
echo dirname("/usr/local/lib", 2);
]]>
@@ -113,6 +114,7 @@ echo dirname("/usr/local/lib", 2);
/etc
/ (or \ on Windows)
.
+C:\
/usr
]]>
@@ -136,33 +138,6 @@ echo dirname("/usr/local/lib", 2);
be set using the setlocale function.
-
-
- Since PHP 4.3.0, you will often get a slash or a dot back from
- dirname in situations where the older
- functionality would have given you the empty string.
-
-
-
- Check the following change example:
-
-
-
-]]>
-
-
-