/php-src/ext/com_dotnet/tests/ |
H A D | variants.phpt | 78 exception Type mismatch 84 exception Type mismatch 89 exception Type mismatch 94 exception Type mismatch 99 exception Type mismatch 104 exception Type mismatch 109 exception Type mismatch 114 exception Type mismatch 119 exception Type mismatch 124 exception Type mismatch [all …]
|
H A D | variants_x64.phpt | 81 exception Type mismatch 87 exception Type mismatch 92 exception Type mismatch 97 exception Type mismatch 102 exception Type mismatch 107 exception Type mismatch 112 exception Type mismatch 117 exception Type mismatch 122 exception Type mismatch 127 exception Type mismatch [all …]
|
/php-src/ext/gettext/tests/ |
H A D | 44938.phpt | 14 } catch (ValueError $exception) { 20 } catch (ValueError $exception) { 26 } catch (ValueError $exception) { 32 } catch (ValueError $exception) { 38 } catch (ValueError $exception) { 44 } catch (ValueError $exception) { 50 } catch (ValueError $exception) { 56 } catch (ValueError $exception) { 62 } catch (ValueError $exception) { 68 } catch (ValueError $exception) { [all …]
|
/php-src/ext/standard/tests/mail/ |
H A D | mail_basic7.phpt | 47 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; 53 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; 59 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; 65 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; 71 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; 77 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; 83 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; 89 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; 102 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; 108 echo get_class($exception) . ": " . $exception->getMessage() . "\n"; [all …]
|
/php-src/ext/tidy/tests/ |
H A D | 036.phpt | 13 } catch (Error $exception) { 14 echo $exception->getMessage() . "\n"; 19 } catch (Error $exception) { 20 echo $exception->getMessage() . "\n"; 25 } catch (Error $exception) { 31 } catch (Error $exception) { 37 } catch (Error $exception) { 43 } catch (Error $exception) { 49 } catch (Error $exception) { 55 } catch (Error $exception) { [all …]
|
/php-src/ext/snmp/tests/ |
H A D | snmp-object-properties-error.phpt | 17 } catch (Error $exception) { 18 echo $exception->getMessage() . "\n"; 23 } catch (Error $exception) { 29 } catch (TypeError $exception) { 35 } catch (ValueError $exception) { 41 } catch (TypeError $exception) { 47 } catch (TypeError $exception) { 53 } catch (TypeError $exception) { 59 } catch (TypeError $exception) { 65 } catch (TypeError $exception) { [all …]
|
/php-src/tests/lang/ |
H A D | error_2_exception_001.phpt | 28 } catch (MyException $exception) { 29 …echo "There was an exception: " . $exception->getErrno() . ", '" . $exception->getErrmsg() . "'\n"; 33 trigger_error("I will become an exception", E_USER_WARNING); 34 } catch (MyException $exception) { 35 …echo "There was an exception: " . $exception->getErrno() . ", '" . $exception->getErrmsg() . "'\n"; 40 There was an exception: 512, 'I will become an exception'
|
H A D | 035.phpt | 16 throw new MyException("'This is an exception!'"); 21 } catch (MyException $exception) { 22 print "There shouldn't be an exception: " . $exception->getException(); 28 } catch (MyException $exception) { 29 print "There was an exception: " . $exception->getException(); 34 There was an exception: 'This is an exception!'
|
/php-src/ext/zip/tests/ |
H A D | oo_readonly_properties.phpt | 12 } catch (Error $exception) { 13 echo $exception->getMessage() . "\n"; 18 } catch (Error $exception) { 19 echo $exception->getMessage() . "\n"; 26 } catch (Error $exception) { 27 echo $exception->getMessage() . "\n"; 34 } catch (Error $exception) { 35 echo $exception->getMessage() . "\n"; 42 } catch (Error $exception) { 50 } catch (Error $exception) { [all …]
|
/php-src/ext/dom/tests/ |
H A D | property_write_errors.phpt | 13 } catch (TypeError $exception) { 14 echo $exception->getMessage() . "\n"; 19 } catch (Error $exception) { 20 echo $exception->getMessage() . "\n"; 25 } catch (Error $exception) { 26 echo $exception->getMessage() . "\n"; 33 } catch (Error $exception) { 34 echo $exception->getMessage() . "\n"; 39 } catch (Error $exception) { 40 echo $exception->getMessage() . "\n"; [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | bug40754.phpt | 15 } catch (ValueError $exception) { 16 echo $exception->getMessage() . "\n"; 21 } catch (ValueError $exception) { 27 } catch (ValueError $exception) { 33 } catch (ValueError $exception) { 39 } catch (ValueError $exception) { 45 } catch (ValueError $exception) { 51 } catch (ValueError $exception) { 57 } catch (ValueError $exception) { 63 } catch (ValueError $exception) { [all …]
|
H A D | strripos_offset.phpt | 14 } catch (ValueError $exception) { 15 echo $exception->getMessage() . "\n"; 20 } catch (ValueError $exception) { 21 echo $exception->getMessage() . "\n"; 26 } catch (ValueError $exception) { 27 echo $exception->getMessage() . "\n"; 32 } catch (ValueError $exception) { 33 echo $exception->getMessage() . "\n";
|
H A D | strrpos_offset.phpt | 14 } catch (ValueError $exception) { 15 echo $exception->getMessage() . "\n"; 20 } catch (ValueError $exception) { 21 echo $exception->getMessage() . "\n"; 26 } catch (ValueError $exception) { 27 echo $exception->getMessage() . "\n"; 32 } catch (ValueError $exception) { 33 echo $exception->getMessage() . "\n";
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_properties_no_conn.phpt | 21 } catch (Error $exception) { 39 } catch (Error $exception) { 45 } catch (Error $exception) { 55 } catch (Error $exception) { 61 } catch (Error $exception) { 67 } catch (Error $exception) { 73 } catch (Error $exception) { 79 } catch (Error $exception) { 85 } catch (Error $exception) { 91 } catch (Error $exception) { [all …]
|
/php-src/Zend/tests/ |
H A D | gh10695_5.phpt | 2 GH-10695: Exception handlers can register another exception handler 5 set_exception_handler(function (\Throwable $exception) { 6 echo 'Caught: ' . $exception->getMessage() . "\n"; 7 set_exception_handler(function (\Throwable $exception) { 8 echo 'Caught: ' . $exception->getMessage() . "\n"; 10 throw new \Exception('exception handler'); 17 Caught: exception handler
|
H A D | iterable_or_null.phpt | 10 } catch (TypeError $exception) { 11 echo $exception->getMessage() . "\n"; 16 } catch (TypeError $exception) { 17 echo $exception->getMessage() . "\n"; 22 } catch (TypeError $exception) { 23 echo $exception->getMessage() . "\n"; 37 } catch (TypeError $exception) { 38 echo $exception->getMessage() . "\n";
|
/php-src/Zend/tests/fibers/ |
H A D | unfinished-fiber-with-throw-in-finally.phpt | 13 } catch (Throwable $exception) { 14 echo "inner exit exception caught!\n"; 16 } catch (Throwable $exception) { 17 echo "exit exception caught!\n"; 20 throw new \Exception("finally exception"); 22 } catch (Exception $exception) { 23 echo $exception->getMessage(), "\n"; 30 } catch (FiberError $exception) { 31 echo $exception->getMessage(), "\n"; 45 finally exception
|
/php-src/ext/standard/tests/password/ |
H A D | password_hash_error_argon2.phpt | 13 } catch (ValueError $exception) { 14 echo $exception->getMessage() . "\n"; 19 } catch (ValueError $exception) { 20 echo $exception->getMessage() . "\n"; 25 } catch (ValueError $exception) { 26 echo $exception->getMessage() . "\n"; 31 } catch (ValueError $exception) { 32 echo $exception->getMessage() . "\n"; 37 } catch (ValueError $exception) { 38 echo $exception->getMessage() . "\n"; [all …]
|
/php-src/Zend/ |
H A D | zend_exceptions.c | 146 if (EG(exception)) { in zend_exception_save() 149 EG(exception) = NULL; in zend_exception_save() 156 if (EG(exception)) { in zend_exception_restore() 194 zend_exception_set_previous(exception, EG(exception)); in zend_throw_exception_internal() 195 EG(exception) = exception; in zend_throw_exception_internal() 202 …if (exception && (exception->ce == zend_ce_parse_error || exception->ce == zend_ce_compile_error))… in zend_throw_exception_internal() 246 exception = EG(exception); in zend_clear_exception() 666 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && instanceof_function(Z_OBJCE_P(exception), … in ZEND_METHOD() 719 exception = GET_PROPERTY(exception, ZEND_STR_PREVIOUS); in ZEND_METHOD() 735 exception = GET_PROPERTY(exception, ZEND_STR_PREVIOUS); in ZEND_METHOD() [all …]
|
/php-src/ext/session/tests/user_session_module/ |
H A D | sessionhandler_open_001.phpt | 13 } catch (Error $exception) { 14 echo $exception->getMessage() . "\n"; 19 } catch (Error $exception) { 20 echo $exception->getMessage() . "\n"; 25 } catch (Error $exception) { 26 echo $exception->getMessage() . "\n"; 31 } catch (Error $exception) { 32 echo $exception->getMessage() . "\n";
|
/php-src/ext/gmp/tests/ |
H A D | gmp_pow_32bits.phpt | 17 } catch (ValueError $exception) { 18 echo $exception->getMessage() . "\n"; 23 } catch (ValueError $exception) { 24 echo $exception->getMessage() . "\n"; 28 } catch (ValueError $exception) { 29 echo $exception->getMessage() . "\n"; 33 } catch (ValueError $exception) { 34 echo $exception->getMessage() . "\n"; 39 } catch (ValueError $exception) { 40 echo $exception->getMessage() . "\n"; [all …]
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug32647.phpt | 21 } catch (TypeError $exception) { 22 echo $exception->getMessage() . "\n"; 27 } catch (TypeError $exception) { 28 echo $exception->getMessage() . "\n"; 33 } catch (TypeError $exception) { 34 echo $exception->getMessage() . "\n"; 39 } catch (TypeError $exception) { 45 } catch (TypeError $exception) { 51 } catch (TypeError $exception) { 59 } catch (TypeError $exception) { [all …]
|
/php-src/ext/sysvshm/tests/ |
H A D | 002.phpt | 17 } catch (ValueError $exception) { 18 echo $exception->getMessage() . "\n"; 23 } catch (ValueError $exception) { 24 echo $exception->getMessage() . "\n"; 29 } catch (ValueError $exception) { 30 echo $exception->getMessage() . "\n"; 35 } catch (ValueError $exception) { 36 echo $exception->getMessage() . "\n"; 41 } catch (ValueError $exception) { 42 echo $exception->getMessage() . "\n";
|
/php-src/ext/ldap/tests/ |
H A D | ldap_search_error.phpt | 25 } catch (ValueError $exception) { 26 echo $exception->getMessage() . "\n"; 31 } catch (ValueError $exception) { 32 echo $exception->getMessage() . "\n"; 37 } catch (ValueError $exception) { 38 echo $exception->getMessage() . "\n"; 43 } catch (ValueError $exception) { 44 echo $exception->getMessage() . "\n"; 49 } catch (TypeError $exception) { 50 echo $exception->getMessage() . "\n"; [all …]
|
/php-src/ext/shmop/tests/ |
H A D | 002.phpt | 15 } catch (ValueError $exception) { 16 echo $exception->getMessage() . "\n"; 21 } catch (ValueError $exception) { 22 echo $exception->getMessage() . "\n"; 31 } catch (ValueError $exception) { 32 echo $exception->getMessage() . "\n"; 38 } catch (ValueError $exception) { 39 echo $exception->getMessage() . "\n"; 47 } catch (ValueError $exception) { 56 } catch (ValueError $exception) { [all …]
|