Add some options to php_error