1--TEST-- 2Comparisons with NAN should yield false, even at compile-time 3--FILE-- 4<?php 5 6echo "** CONST\n"; 7var_dump(0 < NAN); 8var_dump(0 <= NAN); 9var_dump(0 > NAN); 10var_dump(0 >= NAN); 11 12echo "** VAR\n"; 13$nan = NAN; 14var_dump(0 < $nan); 15var_dump(0 <= $nan); 16var_dump(0 > $nan); 17var_dump(0 >= $nan); 18?> 19--EXPECT-- 20** CONST 21bool(false) 22bool(false) 23bool(false) 24bool(false) 25** VAR 26bool(false) 27bool(false) 28bool(false) 29bool(false) 30