blob: f4b30948de2085a8c0799f41cb93c4e79c9928b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--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)
|