3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //print_r(unserialize('a:1:{s:5:"title";a:1:{s:2:"en";s:4:"Home";}}')); //echo serialize(array('titile' => array('en' => 'Home', 'de' => 'Heim'))); $array = array( 'title' => array( 'en' => 'Home' ) ); array_push($array['title'], 'de' => 'heim'); print_r($array);
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/cbEnQ on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/cbEnQ on line 12
Process exited with code 255.