3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = arrray( 1 => array( "contentIds" => array( 12, 13, 14 ), "locationIds" => array( 24 ) ), 2 => array( "contentIds" => array( 12, 13, 14 ), "locationIds" => array( 24 ) ) ); var_dump( array_flip( $test ) );
Output for 5.4.0 - 5.5.1
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/MWlpp on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/MWlpp on line 4
Process exited with code 255.