3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(rand(1,10)); foreach(str_split(12345,1) as $a) var_dump($a);
Output for 7.2.11
int(5) string(1) "1" string(1) "2" string(1) "3" string(1) "4" string(1) "5"