3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //echo base64_encode('top_menu_handler'); //echo base64_decode('aG9yaXpvbnRhbF9tZW51'); $ar = array(); $ar['aaa'] = 'test'; if($val=$ar['aa']) echo $val; else echo 'no';
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Notice: Undefined index: aa in /in/TPgM6 on line 8 no
Output for 4.3.0 - 5.2.17
Notice: Undefined index: aa in /in/TPgM6 on line 8 no