Home
last modified time | relevance | path

Searched refs:exception (Results 26 – 50 of 875) sorted by relevance

12345678910>>...35

/PHP-8.2/ext/standard/tests/filters/
H A D001.phpt7 } catch (ValueError $exception) {
8 echo $exception->getMessage() . "\n";
13 } catch (ValueError $exception) {
14 echo $exception->getMessage() . "\n";
19 } catch (ValueError $exception) {
20 echo $exception->getMessage() . "\n";
/PHP-8.2/Zend/tests/
H A Dthis_in_isset.phpt9 echo "exception\n";
14 echo "exception\n";
19 echo "exception\n";
36 exception
37 exception
38 exception
H A Dstr_or_obj_of_class_zpp.phpt23 } catch (TypeError $exception) {
24 echo $exception->getMessage() . "\n";
29 } catch (TypeError $exception) {
30 echo $exception->getMessage() . "\n";
41 } catch (TypeError $exception) {
42 echo $exception->getMessage() . "\n";
47 } catch (TypeError $exception) {
48 echo $exception->getMessage() . "\n";
H A Dbug47714.phpt15 set_exception_handler(function($exception) {
17 $h->handle($exception);
20 throw new Exception('exception');
23 exception
H A D010.phpt47 } catch (TypeError $exception) {
48 echo $exception->getMessage() . "\n";
53 } catch (TypeError $exception) {
54 echo $exception->getMessage() . "\n";
59 } catch (TypeError $exception) {
60 echo $exception->getMessage() . "\n";
67 } catch (TypeError $exception) {
68 echo $exception->getMessage() . "\n";
73 } catch (TypeError $exception) {
74 echo $exception->getMessage() . "\n";
H A Dnumber_or_str_zpp.phpt25 } catch (TypeError $exception) {
26 echo $exception->getMessage() . "\n";
30 } catch (TypeError $exception) {
31 echo $exception->getMessage() . "\n";
44 } catch (TypeError $exception) {
45 echo $exception->getMessage() . "\n";
49 } catch (TypeError $exception) {
50 echo $exception->getMessage() . "\n";
H A Dbug44827.phpt8 } catch (ValueError $exception) {
9 echo $exception->getMessage() . "\n";
14 } catch (ValueError $exception) {
15 echo $exception->getMessage() . "\n";
/PHP-8.2/ext/standard/tests/strings/
H A Dsubstr_count_error.phpt12 } catch (ValueError $exception) {
13 echo $exception->getMessage() . "\n";
19 } catch (ValueError $exception) {
20 echo $exception->getMessage() . "\n";
27 } catch (ValueError $exception) {
28 echo $exception->getMessage() . "\n";
34 } catch (ValueError $exception) {
35 echo $exception->getMessage() . "\n";
/PHP-8.2/ext/xml/tests/
H A Dxml_parser_set_option_errors.phpt13 } catch (ValueError $exception) {
14 echo $exception->getMessage() . "\n";
18 } catch (TypeError $exception) {
19 echo $exception->getMessage() . "\n";
25 } catch (ValueError $exception) {
26 echo $exception->getMessage() . "\n";
30 } catch (TypeError $exception) {
44 } catch (ValueError $exception) {
49 } catch (ValueError $exception) {
54 } catch (Error $exception) {
[all …]
/PHP-8.2/ext/standard/tests/file/
H A Dpopen_pclose_error.phpt8 } catch (ValueError $exception) {
9 echo $exception->getMessage() . "\n";
14 } catch (ValueError $exception) {
15 echo $exception->getMessage() . "\n";
20 } catch (ValueError $exception) {
21 echo $exception->getMessage() . "\n";
/PHP-8.2/ext/session/tests/user_session_module/
H A Dbug69111.phpt14 } catch (Error $exception) {
15 echo $exception->getMessage() . "\n";
20 } catch (Error $exception) {
21 echo $exception->getMessage() . "\n";
26 } catch (Error $exception) {
27 echo $exception->getMessage() . "\n";
H A Dsession_set_save_handler_error4.phpt16 } catch (TypeError $exception) {
17 echo $exception->getMessage() . "\n";
22 } catch (TypeError $exception) {
23 echo $exception->getMessage() . "\n";
28 } catch (TypeError $exception) {
29 echo $exception->getMessage() . "\n";
34 } catch (TypeError $exception) {
35 echo $exception->getMessage() . "\n";
40 } catch (TypeError $exception) {
41 echo $exception->getMessage() . "\n";
[all …]
/PHP-8.2/ext/ldap/tests/
H A Dldap_search_error.phpt27 } catch (ValueError $exception) {
28 echo $exception->getMessage() . "\n";
33 } catch (ValueError $exception) {
34 echo $exception->getMessage() . "\n";
39 } catch (ValueError $exception) {
40 echo $exception->getMessage() . "\n";
45 } catch (TypeError $exception) {
46 echo $exception->getMessage() . "\n";
51 } catch (TypeError $exception) {
52 echo $exception->getMessage() . "\n";
/PHP-8.2/ext/standard/tests/network/
H A Ddns_get_record_error_conditions.phpt8 } catch (\ValueError $exception) {
9 echo $exception->getMessage() . "\n";
16 } catch (\ValueError $exception) {
17 echo $exception->getMessage() . "\n";
24 } catch (\ValueError $exception) {
25 echo $exception->getMessage() . "\n";
H A Ddns_check_record_error_conditions.phpt7 } catch (\ValueError $exception) {
8 echo $exception->getMessage() . "\n";
13 } catch (\ValueError $exception) {
14 echo $exception->getMessage() . "\n";
/PHP-8.2/ext/standard/tests/serialize/
H A Dunserialize_error_001.phpt13 } catch (TypeError $exception) {
14 echo $exception->getMessage() . "\n";
19 } catch (TypeError $exception) {
20 echo $exception->getMessage() . "\n";
26 } catch (TypeError $exception) {
27 echo $exception->getMessage() . "\n";
/PHP-8.2/ext/standard/tests/class_object/
H A Dmethod_exists_basic_002.phpt6 echo "Does exception::getmessage exist? ";
7 var_dump(method_exists("exception", "getmessage"));
12 echo "Does exception::getmessage exist? ";
13 var_dump(method_exists(new exception, "getmessage"));
21 Does exception::getmessage exist? bool(true)
25 Does exception::getmessage exist? bool(true)
/PHP-8.2/ext/xmlreader/tests/
H A DsetSchema_error.phpt11 } catch (ValueError $exception) {
12 echo $exception->getMessage() . "\n";
19 } catch (Error $exception) {
20 echo $exception->getMessage() . "\n";
27 } catch (Error $exception) {
28 echo $exception->getMessage() . "\n";
/PHP-8.2/ext/soap/tests/
H A Dfault_warning.phpt10 } catch (ValueError $exception) {
11 echo $exception->getMessage() . "\n";
16 } catch (TypeError $exception) {
17 echo $exception->getMessage() . "\n";
27 } catch (ValueError $exception) {
28 echo $exception->getMessage() . "\n";
33 } catch (ValueError $exception) {
34 echo $exception->getMessage() . "\n";
/PHP-8.2/ext/json/tests/
H A Djson_exceptions_error_clearing.phpt17 echo "Caught JSON exception: ", $e->getCode(), PHP_EOL;
25 echo "Caught JSON exception: ", $e->getCode(), PHP_EOL;
34 echo "Caught JSON exception: ", $e->getCode(), PHP_EOL;
43 Caught JSON exception: 4
45 Caught JSON exception: 4
47 Caught JSON exception: 7
/PHP-8.2/ext/filter/tests/
H A D039.phpt16 } catch (TypeError $exception) {
17 echo $exception->getMessage() . "\n";
26 } catch (TypeError $exception) {
27 echo $exception->getMessage() . "\n";
36 } catch (TypeError $exception) {
37 echo $exception->getMessage() . "\n";
44 } catch (TypeError $exception) {
45 echo $exception->getMessage() . "\n";
56 } catch (ValueError $exception) {
61 } catch (ValueError $exception) {
[all …]
/PHP-8.2/ext/xsl/tests/
H A Dbug49634.phpt31 throw new Exception('Test exception.');
52 Exception: Test exception. in %s:%d
57 Exception: Test exception. in %s:%d
62 Exception: Test exception. in %s:%d
67 Exception: Test exception. in %s:%d
72 Exception: Test exception. in %s:%d
77 Exception: Test exception. in %s:%d
82 Exception: Test exception. in %s:%d
87 Exception: Test exception. in %s:%d
92 Exception: Test exception. in %s:%d
[all …]
/PHP-8.2/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_getDefaultValueConstantName_Internal.phpt11 } catch (ReflectionException $exception) {
12 echo $exception->getMessage() . "\n";
24 } catch (ReflectionException $exception) {
25 echo $exception->getMessage() . "\n";
37 } catch (ReflectionException $exception) {
38 echo $exception->getMessage() . "\n";
/PHP-8.2/ext/pcntl/tests/
H A Dpcntl_getpriority_error_darwin.phpt25 } catch (ValueError $exception) {
26 echo $exception->getMessage() . "\n";
31 } catch (ValueError $exception) {
32 echo $exception->getMessage() . "\n";
38 } catch (ValueError $exception) {
39 echo $exception->getMessage() . "\n";
H A Dpcntl_signal.phpt24 } catch (ValueError $exception) {
25 echo $exception->getMessage() . "\n";
30 } catch (ValueError $exception) {
31 echo $exception->getMessage() . "\n";
36 } catch (TypeError $exception) {
37 echo $exception->getMessage() . "\n";

Completed in 26 milliseconds

12345678910>>...35