1--TEST--
2Bug #24098 (pathinfo() crash)
3--SKIPIF--
4<?php if (DIRECTORY_SEPARATOR == '\\') die("skip directory separator won't match expected output"); ?>
5--FILE--
6<?php
7	var_dump(pathinfo("/dsds.asa"));
8?>
9--EXPECT--
10array(4) {
11  ["dirname"]=>
12  string(1) "/"
13  ["basename"]=>
14  string(8) "dsds.asa"
15  ["extension"]=>
16  string(3) "asa"
17  ["filename"]=>
18  string(4) "dsds"
19}
20