3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array( 'config' => array( 'settings' = array( 'db' => 'a' 'type' => 'mysql' ), 'something' => 'ok', ) ); $y = array( 'config' => array( 'settings' = array( 'db' => 'b' ) ) ); $result = array_merge( $a, $b ); var_dump( $result );
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '=', expecting ')' in /in/gkvu0 on line 5
Process exited with code 255.