/php-src/tests/classes/ |
H A D | type_hinting_004.phpt | 17 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 22 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 27 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 32 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 37 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 42 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 66 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 71 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 76 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 81 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; [all …]
|
/php-src/ext/intl/tests/ |
H A D | calendar_before_after_error.phpt | 20 } catch (Error $ex) { 21 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 25 } catch (Error $ex) { 26 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 31 } catch (Error $ex) { 32 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 36 } catch (Error $ex) { 37 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 42 } catch (Error $ex) { 43 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; [all …]
|
H A D | calendar_isEquivalentTo_error.phpt | 20 } catch (Error $ex) { 21 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 25 } catch (Error $ex) { 26 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 30 } catch (Error $ex) { 31 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 36 } catch (Error $ex) { 37 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 41 } catch (Error $ex) { 42 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; [all …]
|
H A D | calendar_equals_error.phpt | 20 } catch (Error $ex) { 21 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 25 } catch (Error $ex) { 26 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 30 } catch (Error $ex) { 31 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 37 } catch (Error $ex) { 38 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 42 } catch (Error $ex) { 43 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
|
H A D | calendar_setTimeZone_error.phpt | 22 } catch (Error $ex) { 23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 27 } catch (Error $ex) { 28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 33 } catch (Error $ex) { 34 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 38 } catch (Error $ex) { 39 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
|
H A D | msgfmt_format_simple_types_numeric_strings.phpt | 27 $ex = "1336317965.5 str"; 29 'a' => $ex, 30 'b' => $ex, 31 'c' => $ex, 32 'd' => $ex, 33 'e' => $ex, 36 'h' => $ex, 37 'i' => $ex, 38 'j' => $ex,
|
H A D | msgfmt_format_simple_types_numeric_strings_icu72-1.phpt | 27 $ex = "1336317965.5 str"; 29 'a' => $ex, 30 'b' => $ex, 31 'c' => $ex, 32 'd' => $ex, 33 'e' => $ex, 36 'h' => $ex, 37 'i' => $ex, 38 'j' => $ex,
|
H A D | timezone_hasSameRules_error.phpt | 19 } catch (Error $ex) { 20 var_dump($ex->getCode(), $ex->getMessage()); 26 } catch (Error $ex) { 27 var_dump($ex->getCode(), $ex->getMessage());
|
/php-src/ext/bcmath/tests/ |
H A D | bcmod_error2.phpt | 11 } catch (DivisionByZeroError $ex) { 12 echo $ex->getMessage(), PHP_EOL; 16 } catch (DivisionByZeroError $ex) { 17 echo $ex->getMessage(), PHP_EOL; 21 } catch (DivisionByZeroError $ex) { 22 echo $ex->getMessage(), PHP_EOL;
|
H A D | bcdiv_error1.phpt | 13 } catch (DivisionByZeroError $ex) { 14 echo $ex->getMessage(), PHP_EOL; 19 } catch (DivisionByZeroError $ex) { 20 echo $ex->getMessage(), PHP_EOL; 25 } catch (DivisionByZeroError $ex) { 26 echo $ex->getMessage(), PHP_EOL;
|
/php-src/Zend/tests/try/ |
H A D | catch_finally_004.phpt | 10 function foo (&$ex) { 24 $ex = $e; 32 var_dump(foo($ex)); 35 var_dump($ex->getMessage()); 36 } while ($ex = $ex->getPrevious());
|
H A D | try_catch_finally_006.phpt | 7 function foo($ex = NULL) { 13 if ($ex) throw $ex; 17 if ($ex) return "return1";
|
/php-src/ext/date/tests/ |
H A D | timezone_offset_get_error.phpt | 16 } catch (Error $ex) { 17 var_dump($ex->getMessage()); 23 } catch (Error $ex) { 24 var_dump($ex->getMessage()); 30 } catch (Error $ex) { 31 var_dump($ex->getMessage()); 39 } catch (Error $ex) { 40 var_dump($ex->getMessage()); 46 } catch (Error $ex) { 47 var_dump($ex->getMessage()); [all …]
|
H A D | gh14732.phpt | 7 } catch (ValueError $ex) { 8 echo $ex->getMessage(), "\n"; 12 } catch (ValueError $ex) { 13 echo $ex->getMessage(), "\n"; 17 } catch (ValueError $ex) { 18 echo $ex->getMessage(), "\n"; 22 } catch (ValueError $ex) { 23 echo $ex->getMessage(), "\n";
|
/php-src/ext/zlib/tests/ |
H A D | gh16326.phpt | 9 } catch (ValueError $ex) { 10 echo $ex->getMessage(), "\n"; 14 } catch (ValueError $ex) { 15 echo $ex->getMessage(), "\n"; 19 } catch (Error $ex) { 20 echo $ex->getMessage(), "\n";
|
/php-src/Zend/ |
H A D | zend_dtrace.c | 32 zend_execute_data *ex = EG(current_execute_data); in dtrace_get_executed_filename() local 34 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in dtrace_get_executed_filename() 35 ex = ex->prev_execute_data; in dtrace_get_executed_filename() 37 if (ex) { in dtrace_get_executed_filename() 38 return ZSTR_VAL(ex->func->op_array.filename); in dtrace_get_executed_filename()
|
/php-src/Zend/tests/exceptions/ |
H A D | exception_getters_with_ref_props.phpt | 19 $ex = new MyException($refMsg, $refCode, $refFile, $refLine); 20 var_dump($ex->getMessage()); 21 var_dump($ex->getCode()); 22 var_dump($ex->getFile()); 23 var_dump($ex->getLine());
|
/php-src/ext/sodium/tests/ |
H A D | crypto_stream_xchacha20.phpt | 55 } catch (SodiumException $ex) { 56 echo $ex->getMessage(), "\n"; 60 } catch (SodiumException $ex) { 61 echo $ex->getMessage(), "\n"; 65 } catch (SodiumException $ex) { 66 echo $ex->getMessage(), "\n"; 70 } catch (SodiumException $ex) { 71 echo $ex->getMessage(), "\n"; 75 } catch (SodiumException $ex) { 76 echo $ex->getMessage(), "\n";
|
H A D | crypto_scalarmult_ristretto255.phpt | 16 } catch (SodiumException $ex) { 17 echo $ex->getMessage(), "\n"; 21 } catch (SodiumException $ex) { 22 echo $ex->getMessage(), "\n"; 35 } catch (SodiumException $ex) { 36 echo $ex->getMessage(), "\n";
|
/php-src/Zend/tests/weakrefs/ |
H A D | weakrefs_002.phpt | 9 } catch (Exception $ex) { 10 var_dump($ex->getMessage()); 17 } catch (Exception $ex) { 18 var_dump($ex->getMessage());
|
H A D | weakrefs_003.phpt | 13 } catch (Error $ex) { 14 var_dump($ex->getMessage()); 19 } catch (Error $ex) { 20 var_dump($ex->getMessage());
|
/php-src/ext/calendar/tests/ |
H A D | cal_days_in_month_error1.phpt | 11 } catch (ValueError $ex) { 12 echo "{$ex->getMessage()}\n"; 16 } catch (ValueError $ex) { 17 echo "{$ex->getMessage()}\n";
|
H A D | bug80185_32bit.phpt | 13 } catch (ValueError $ex) { 14 echo $ex->getMessage(), PHP_EOL; 19 } catch (ValueError $ex) { 20 echo $ex->getMessage(), PHP_EOL;
|
/php-src/Zend/tests/gh10232/ |
H A D | required.inc | 4 $ex = new Exception(); 5 echo 'Exception in ', basename($ex->getFile()), ' on line ', $ex->getLine(), "\n";
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_utils.h | 96 PHPDBG_API bool phpdbg_check_caught_ex(zend_execute_data *ex, zend_object *exception); 98 static zend_always_inline zend_execute_data *phpdbg_user_execute_data(zend_execute_data *ex) { in phpdbg_user_execute_data() argument 99 while (!ex->func || !ZEND_USER_CODE(ex->func->common.type)) { in phpdbg_user_execute_data() 100 ex = ex->prev_execute_data; in phpdbg_user_execute_data() 101 ZEND_ASSERT(ex); in phpdbg_user_execute_data() 103 return ex; in phpdbg_user_execute_data()
|