Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 936) sorted by relevance

12345678910>>...38

/PHP-8.4/ext/com_dotnet/tests/
H A Dvariants.phpt78 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 Dvariants_x64.phpt81 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-8.4/ext/gettext/tests/
H A D44938.phpt14 } 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-8.4/ext/standard/tests/mail/
H A Dmail_basic7.phpt47 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-8.4/ext/tidy/tests/
H A D036.phpt13 } 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-8.4/ext/snmp/tests/
H A Dsnmp-object-properties-error.phpt17 } 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-8.4/tests/lang/
H A Derror_2_exception_001.phpt28 } 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 D035.phpt16 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-8.4/ext/zip/tests/
H A Doo_readonly_properties.phpt12 } 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-8.4/ext/dom/tests/
H A Dproperty_write_errors.phpt13 } 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-8.4/ext/standard/tests/strings/
H A Dbug40754.phpt15 } 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 Dstrripos_offset.phpt14 } 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 Dstrrpos_offset.phpt14 } 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-8.4/ext/mysqli/tests/
H A Dmysqli_class_mysqli_properties_no_conn.phpt21 } 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-8.4/Zend/tests/
H A Dgh10695_5.phpt2 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 Diterable_or_null.phpt10 } 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-8.4/Zend/tests/fibers/
H A Dunfinished-fiber-with-throw-in-finally.phpt13 } 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-8.4/ext/standard/tests/password/
H A Dpassword_hash_error_argon2.phpt13 } 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-8.4/Zend/
H A Dzend_exceptions.c146 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-8.4/ext/session/tests/user_session_module/
H A Dsessionhandler_open_001.phpt13 } 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-8.4/ext/standard/tests/general_functions/
H A Dbug32647.phpt21 } 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-8.4/ext/sysvshm/tests/
H A D002.phpt17 } 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-8.4/ext/shmop/tests/
H A D002.phpt15 } 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 …]
/PHP-8.4/Zend/tests/attributes/deprecated/functions/
H A Dthrowing_error_handler_001.phpt10 #[\Deprecated("convert to exception")]
22 #[\Deprecated("convert to exception")]
35 #[\Deprecated("convert to exception")]
48 $closure = #[\Deprecated("convert to exception")] function () {
59 #[\Deprecated("convert to exception")]
72 #[\Deprecated("convert to exception")]
86 Caught: Function test() is deprecated, convert to exception
87 Caught: Function test2() is deprecated, convert to exception
88 Caught: Method Clazz::test() is deprecated, convert to exception
89 Caught: Function {closure:%s:%d}() is deprecated, convert to exception
[all …]
/PHP-8.4/Zend/tests/type_declarations/
H A Dtyped_class_constants_type_error8.phpt14 } catch (TypeError $exception) {
15 echo $exception->getMessage() . "\n";
20 } catch (TypeError $exception) {
21 echo $exception->getMessage() . "\n";
26 } catch (TypeError $exception) {
27 echo $exception->getMessage() . "\n";
32 } catch (TypeError $exception) {
33 echo $exception->getMessage() . "\n";

Completed in 46 milliseconds

12345678910>>...38