3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = range('0', '20', '25'); var_dump($a); range('0', '55', '25'); $a = var_dump($a);
based on cgDtD
Output for 5.0.0 - 5.6.21, 7.0.0 - 7.1.0
Warning: range(): step exceeds the specified range in /in/28RTo on line 3 bool(false) bool(false)
Output for hhvm-3.12.0
Warning: Invalid argument: step exceeds the specified range in /in/28RTo on line 3 bool(false) 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/28RTo on line 3 NULL Warning: Wrong parameter count for range() in /in/28RTo on line 6 NULL