php-src/ext/standard/tests/strings/bug24098.phpt
Steph Fox 87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00

20 lines
381 B
PHP

--TEST--
Bug #24098 (pathinfo() crash)
--SKIPIF--
<?php if (DIRECTORY_SEPARATOR == '\\') die("skip directory separator won't match expected output"); ?>
--FILE--
<?php
var_dump(pathinfo("/dsds.asa"));
?>
--EXPECT--
array(4) {
[u"dirname"]=>
unicode(1) "/"
[u"basename"]=>
unicode(8) "dsds.asa"
[u"extension"]=>
unicode(3) "asa"
[u"filename"]=>
unicode(4) "dsds"
}