--TEST-- Test dirname() function : regression with path normalization --SKIPIF-- --FILE-- = 10000) { echo "OK\n"; } else { print "ERROR: " . PHP_EOL; var_dump(dirname($s)); var_dump(strlen($s)); } ?> --EXPECT-- OK