|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-25 12:15 UTC] bjori@php.net
[2006-03-25 12:58 UTC] r21vo1 at gmail dot com
[2006-03-26 00:47 UTC] tony2001@php.net
[2006-04-09 22:32 UTC] edink@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 22:00:01 2025 UTC |
Description: ------------ is_dir() doesn't fail if path ends with additional space, opendir does. Reproduce code: --------------- create dir, for example "bla" var_dump(is_dir("bla ")); var_dump(opendir("bla ")); Expected result: ---------------- Both should be either true or false. Actual result: -------------- is_dir() returns true, opendir() returns false.