3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(range(0,-1, 2));
based on amWJn
Output for 5.0.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: range(): step exceeds the specified range in /in/lYhjl on line 3 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: step exceeds the specified range in /in/lYhjl on line 3 bool(false)
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for range() in /in/lYhjl on line 3 NULL