mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
15 lines
214 B
Plaintext
15 lines
214 B
Plaintext
|
--TEST--
|
||
|
Bug #29075 (strnatcmp() incorrectly handles whitespace)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
var_dump(
|
||
|
strnatcmp('foo ', 'foo '),
|
||
|
strnatcmp('foo', 'foo'),
|
||
|
strnatcmp(' foo', ' foo')
|
||
|
);
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
int(0)
|
||
|
int(0)
|
||
|
int(0)
|