3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s= "123 '".$_POST['nonexisting']."'"; $k = "123 '$foo[nonexisting]'"; echo $s;
Output for 5.3.0 - 7.2.0
Notice: Undefined index: nonexisting in /in/EhEgd on line 2 Notice: Undefined variable: foo in /in/EhEgd on line 3 123 ''
Output for 5.0.4 - 5.2.17
Notice: Undefined index: nonexisting in /in/EhEgd on line 2 Notice: Undefined variable: foo in /in/EhEgd on line 3 123 ''
Output for 4.3.0 - 5.0.3
Notice: Undefined index: nonexisting in /in/EhEgd on line 2 Notice: Undefined variable: foo in /in/EhEgd on line 3 123 ''