php-src/ext/standard/tests/array/bug38464.phpt
Steph Fox 833f4150a1 - killed off UEXPECT
- could someone please fix var_export2.phpt? NUL is corrupted, can't fix here
2008-05-26 23:36:10 +00:00

21 lines
310 B
PHP

--TEST--
Bug #38464 (array_count_values() mishandles numeric strings)
--FILE--
<?php
$array = array('-000', ' 001', 1, ' 123', '+123');
var_dump(array_count_values($array));
?>
--EXPECT--
array(5) {
[u"-000"]=>
int(1)
[u" 001"]=>
int(1)
[1]=>
int(1)
[u" 123"]=>
int(1)
[u"+123"]=>
int(1)
}