Home
last modified time | relevance | path

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

12345678910>>...36

/php-src/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-src/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-src/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-src/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-src/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-src/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_ERROR);
34 } catch (MyException $exception) {
35 …echo "There was an exception: " . $exception->getErrno() . ", '" . $exception->getErrmsg() . "'\n";
40 There was an exception: 256, '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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/Zend/
H A Dzend_exceptions.c143 if (EG(exception)) { in zend_exception_save()
191 zend_exception_set_previous(exception, EG(exception)); in zend_throw_exception_internal()
192 EG(exception) = exception; in zend_throw_exception_internal()
199 …if (exception && (exception->ce == zend_ce_parse_error || exception->ce == zend_ce_compile_error))… in zend_throw_exception_internal()
243 exception = EG(exception); in zend_clear_exception()
663 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && instanceof_function(Z_OBJCE_P(exception), … in ZEND_METHOD()
716 exception = GET_PROPERTY(exception, ZEND_STR_PREVIOUS); in ZEND_METHOD()
717 if (exception && Z_TYPE_P(exception) == IS_OBJECT && Z_IS_RECURSIVE_P(exception)) { in ZEND_METHOD()
725 …le (exception && Z_TYPE_P(exception) == IS_OBJECT && (base_ce = i_get_exception_base(Z_OBJ_P(excep… in ZEND_METHOD()
731 exception = GET_PROPERTY(exception, ZEND_STR_PREVIOUS); in ZEND_METHOD()
[all …]
/php-src/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-src/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-src/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-src/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-src/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";
/php-src/ext/standard/tests/streams/
H A Dstream_context_create_error.phpt7 } catch (ValueError $exception) {
8 echo $exception->getMessage() . "\n";
13 } catch (ValueError $exception) {
14 echo $exception->getMessage() . "\n";
19 } catch (TypeError $exception) {
20 echo $exception->getMessage() . "\n";

Completed in 150 milliseconds

12345678910>>...36