3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "array(1=>'a1', 2=>'a2', 3=>'a3', 4=>'a4', 5=>'a5');"; $array = eval($str); echo $array[1]; ?>
Output for 4.3.0 - 7.1.0