3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(range(array(0,1,2,3), 0, 4-1));
based on 8fZuL
Output for 5.0.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: range(): step exceeds the specified range in /in/oBjOn on line 3 bool(false)
Output for hhvm-3.12.0
Warning: Invalid argument: step exceeds the specified range in /in/oBjOn on line 3 bool(false)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for range() in /in/oBjOn on line 3 NULL