summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug29075.phpt
blob: 7fe7da6c49789c396246ae5fcfa57e065ec3283f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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)