3v4l.org

run code in 300+ PHP versions simultaneously
<?php $standardErrorCodes = array( 1 => 'No Api key specified!', 2 => 'No such Api key found!', 3 => 'Api key is inactive!', ); print_r( $standardErrorCodes + array( 5 => 'No title for this ticket' ) );

preferences:
51.75 ms | 402 KiB | 5 Q