php-src/Zend/tests/bug69891.phpt
2015-06-20 17:23:58 +02:00

13 lines
188 B
PHP

--TEST--
Bug #69891: Unexpected array comparison result
--FILE--
<?php
var_dump([1, 2, 3] <=> []);
var_dump([] <=> [1, 2, 3]);
var_dump([1] <=> [2, 3]);
--EXPECT--
int(1)
int(-1)
int(-1)