3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $questions = range("z", "a", 2); var_dump($questions); ?>
based on vmUJl
Output for 5.0.0 - 7.2.0
array(13) { [0]=> string(1) "z" [1]=> string(1) "x" [2]=> string(1) "v" [3]=> string(1) "t" [4]=> string(1) "r" [5]=> string(1) "p" [6]=> string(1) "n" [7]=> string(1) "l" [8]=> string(1) "j" [9]=> string(1) "h" [10]=> string(1) "f" [11]=> string(1) "d" [12]=> string(1) "b" }
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for range() in /in/Wf7R6 on line 2 NULL