- print_r: documentation ( source)
- array_merge: documentation ( source)
<?php
$standardErrorCodes = array(
1 => 'No Api key specified!',
2 => 'No such Api key found!',
3 => 'Api key is inactive!',
);
print_r( array_merge( $standardErrorCodes, array( 4 => 'No title for this ticket' ) ) );