:) You are right about the robustness part.. The directory i made by hand. So no need to create and remove it with code. And using a test suit to show this simple example seems like a bit of overkill to me. Just wanted to show directories with spaces function properly when used with is_dir(). Roman Neuhauser wrote: > # admin@xxxxxxxxxx / 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. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php