summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/basename_invalid_path_win.phpt
blob: 27c298c37eede9d46d94cad6f54a4fb776a8c682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Test basename() function : usage variations with invalid paths
--SKIPIF--
<?php
if((substr(PHP_OS, 0, 3) != "WIN"))
  die('skip Run only on Windows"');
?>
--FILE--
<?php
var_dump(basename("\377"));

echo "Done\n";
--EXPECTF--
string(1) "%c"
Done