Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 202) sorted by path

123456789

/PHP-7.4/Zend/tests/
H A Dassign_coalesce_002.phpt16 function do_throw($msg) {
17 throw new Exception($msg);
H A Dbug29896.phpt5 function userErrorHandler($num, $msg, $file, $line, $vars)
H A Dbug60569.phpt6 $msg = "Some error \x00 message";
7 throw new Exception($msg);
9 var_dump($e->getMessage(), $msg);
H A Dbug61767.phpt5 set_error_handler(function($code, $msg, $file = null, $line = null) {
6 echo "Error handler called ($msg)\n";
7 throw new \ErrorException($msg, $code, 0, $file, $line);
H A Dbug65322.phpt11 set_error_handler(function($_, $msg, $file) {
12 var_dump($msg, $file);
H A Dbug70785.phpt6 set_error_handler(function($no, $msg) {
7 throw new Exception($msg);
H A Dbug74164.phpt8 set_error_handler(function ($type, $msg) {
9 throw new \Exception($msg);
H A Dcall_to_deprecated_function_args.phpt6 set_error_handler(function($code, $msg) {
7 throw new Error($msg);
H A Dclass_alias_005.phpt7 static public function msg() {
19 foo::msg();
H A Dcompound_assign_failure.phpt23 set_error_handler(function($type, $msg) { throw new Exception($msg); });
H A Ddebug_backtrace_with_include_and_this.phpt20 set_error_handler(function($code, $msg, $file, $line) {
22 echo "ERR#$code: $msg @ ", $bt[1]['function'], "\n";
H A Derrmsg_045.phpt6 set_error_handler(function($_, $msg, $file) {
7 var_dump($msg, $file);
H A Dexception_before_fatal.phpt5 function exception_error_handler($code, $msg) {
6 throw new Exception($msg);
H A Dexception_with_by_ref_message.phpt8 public function __construct(&$msg) {
9 $this->message =& $msg;
13 $msg = 'Message';
14 throw new MyException($msg);
H A Dnon_well_formed_param_exception.phpt6 set_error_handler(function($_, $msg) {
7 throw new Exception($msg);
H A Dnowdoc_015.phpt5 function error_handler($num, $msg, $file, $line, $vars) {
H A Druntime_compile_time_binary_operands.phpt119 $msg = makeParam($e->getMessage());
120 …$line .= "try { $compare; $error } catch (Error \$e) { if (\$e->getMessage() !== $msg) { $error } …
H A Dtemporary_cleaning_016.phpt5 set_error_handler(function($no, $msg) { throw new Exception; });
H A Dundef_index_to_exception.phpt6 set_error_handler(function($_, $msg) {
7 throw new Exception($msg);
/PHP-7.4/Zend/tests/try/
H A Dcatch_finally_003.phpt5 function dummy($msg) {
6 var_dump($msg);
H A Dcatch_finally_004.phpt6 function throw_exception($msg) {
7 throw new Exception($msg);
H A Dtry_catch_finally_004.phpt7 function dummy($msg) {
8 var_dump($msg);
/PHP-7.4/Zend/
H A Dzend_API.c903 static ZEND_COLD void zend_parse_parameters_debug_error(const char *msg) { in zend_parse_parameters_debug_error() argument
909 ZSTR_VAL(active_function->common.function_name), msg); in zend_parse_parameters_debug_error()
H A Dzend_alloc.c398 stderr_last_error(char *msg) in stderr_last_error() argument
404 fprintf(stderr, "\n%s: [0x%08lx]\n", msg, err); in stderr_last_error()
407 fprintf(stderr, "\n%s: [0x%08lx] %s\n", msg, err, buf); in stderr_last_error()
H A Dzend_compile.c1127 …const char *msg = "Generators may only declare a return type of Generator, Iterator, Traversable, … in zend_mark_function_as_generator() local
1130 …zend_error_noreturn(E_COMPILE_ERROR, msg, zend_get_type_by_const(ZEND_TYPE_CODE(return_info.type))… in zend_mark_function_as_generator()
1136 zend_error_noreturn(E_COMPILE_ERROR, msg, ZSTR_VAL(ZEND_TYPE_NAME(return_info.type))); in zend_mark_function_as_generator()

Completed in 71 milliseconds

123456789