3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $questions = range("a", "z", 2); var_dump($questions); ?>
based on Wf7R6
Output for 5.0.0 - 7.2.0
array(13) { [0]=> string(1) "a" [1]=> string(1) "c" [2]=> string(1) "e" [3]=> string(1) "g" [4]=> string(1) "i" [5]=> string(1) "k" [6]=> string(1) "m" [7]=> string(1) "o" [8]=> string(1) "q" [9]=> string(1) "s" [10]=> string(1) "u" [11]=> string(1) "w" [12]=> string(1) "y" }
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for range() in /in/3RNAY on line 2 NULL