3v4l.org

run code in 300+ PHP versions simultaneously
<?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.4.17, 5.5.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.

preferences:
176.12 ms | 1395 KiB | 55 Q