Re: is_dir reading a folder with a space in the name?

From: Date: Thu, 08 Feb 2007 15:09:55 +0000
Subject: Re: is_dir reading a folder with a space in the name?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-248584@lists.php.net to get a copy of this message
# admin@ensifex.nl / 2007-02-08 16:14:57 +0100: > Like Roman said. I also don't see this behaviour. > Although my test is a lot more simple :) It's not complete: > <?php > $dir = "test dir"; mkdir($dir); > if (is_dir($dir)) { > echo "It's a dir :)"; > } rmdir($dir); But even with those two calls, your and my tests aren't on the same level of robustness. Sure, the OP didn't ask for tests of *any* robustness, I'm just saying that the increased verbosity gives the test properties your test does not have. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991

« previous php.general (#248584) next »