mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
87fac43ac0
- html_translation_table and setlocale tests are no longer relevant - there are a number of ANSI-encoded files. Is this deliberate?
20 lines
381 B
PHP
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"
|
|
}
|