1--TEST--
2Test basename() function : usage variations with invalid paths
3--SKIPIF--
4<?php
5if((substr(PHP_OS, 0, 3) != "WIN"))
6  die('skip Run only on Windows"');
7?>
8--FILE--
9<?php
10var_dump(basename("\377"));
11
12echo "Done\n";
13?>
14--EXPECTF--
15string(1) "%c"
16Done
17