--TEST-- Test xrange() against range() - 010 --SKIPIF-- <?php if (!extension_loaded("xrange")) print "skip"; ?> --FILE-- <?php // don't necessarily match up with the equality operator (in this test) echo !array_diff(iterator_to_array(xrange(10, -10, 0.9)), range(10, -10, 0.9)) ? 'Success' : 'Failure'; ?> --EXPECT-- Success