3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $search_array = array('first' => 1, 'second' => 4, 'third' => 3); foreach($search_Array as $key => $value){ echo $key; echo $key.".adding"; $a=explode($key,"."); echo $a[0]; echo $a[1]; }
Output for 5.6.38 - 7.3.0rc3
Notice: Undefined variable: search_Array in /in/2iFM1 on line 4 Warning: Invalid argument supplied for foreach() in /in/2iFM1 on line 4