Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 1826) sorted by relevance

12345678910>>...74

/PHP-8.4/Zend/tests/
H A Dbug76502.phpt8 "Error(Error())" => new Error("outer", 0, new Error("inner")),
9 "Error(Exception())" => new Error("outer", 0, new Exception("inner")),
10 "Exception(Error())" => new Exception("outer", 0, new Error("inner"))
28 ---- Error(Error()) ----
29 before: Error.previous == Error
30 after : Error.previous == Error
31 ---- Error(Exception()) ----
32 before: Error.previous == Exception
33 after : Error.previous == Exception
34 ---- Exception(Error()) ----
[all …]
H A Dbug73338.phpt6 try { call_user_func(new class { function __destruct () { throw new Error; } }); } catch (Error $e)…
8 set_error_handler(function() { throw new Error; });
10 try { var_dump(new stdClass, call_user_func("fail")); } catch (Error $e) {}
12 try { (function() { call_user_func("fail"); })(); } catch (Error $e) {}
14 …atic function foo() {} function __destruct () { throw new Error; } }, "foo"](); } catch (Error $e)…
H A Dbug53432.phpt29 } catch (Error $e) {
30 echo "Error: {$e->getMessage()}\n";
37 } catch (Error $e) {
38 echo "Error: {$e->getMessage()}\n";
45 } catch (Error $e) {
46 echo "Error: {$e->getMessage()}\n";
62 Error: [] operator not supported for strings
64 Error: Cannot use assign-op operators with string offsets
66 Error: Cannot use string offset as an array
H A Dstring_offset_as_object.phpt9 } catch (Error $e) {
14 } catch (Error $e) {
19 } catch (Error $e) {
24 } catch (Error $e) {
29 } catch (Error $e) {
34 } catch (Error $e) {
39 } catch (Error $e) {
44 } catch (Error $e) {
49 } catch (Error $e) {
H A Dassign_dim_obj_null_return.phpt12 } catch (Error $e) {
18 } catch (Error $e) {
24 } catch (Error $e) {
30 } catch (Error $e) {
36 } catch (Error $e) {
42 } catch (Error $e) {
48 } catch (Error $e) {
54 } catch (Error $e) {
60 } catch (Error $e) {
65 } catch (Error $e) {
H A Dthrowable_001.phpt2 Test using an Error as the previous Throwable for an Exception
7 throw new Exception('Exception message', 0, new Error('Error message'));
10 Fatal error: Uncaught Error: Error message in %s:%d
H A Dthrowable_002.phpt2 Test using an Exception as the previous Throwable for an Error
7 throw new Error('Error message', 0, new Exception('Exception message'));
14 Next Error: Error message in %s:%d
/PHP-8.4/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_extendederror_attr.phpt17 echo sprintf("First Error Info: SQLSTATE Error Code: (%s), Driver Specific Error Code: (%s)", $erro…
22 echo sprintf("Second Error Info: SQLSTATE Error Code: (%s), Driver Specific Error Code: (%s)", $err…
34 echo sprintf("First (Extended) Error Info: SQLSTATE Error Code: (%s), Driver Specific Error Code: (…
39 echo sprintf("Second (Extended) Error Info: SQLSTATE Error Code: (%s), Driver Specific Error Code: …
45 First Error Info: SQLSTATE Error Code: (00000), Driver Specific Error Code: ()
47 Second Error Info: SQLSTATE Error Code: (23000), Driver Specific Error Code: (19)
50 First (Extended) Error Info: SQLSTATE Error Code: (00000), Driver Specific Error Code: ()
52 Second (Extended) Error Info: SQLSTATE Error Code: (HY000), Driver Specific Error Code: (1555)
/PHP-8.4/ext/date/tests/
H A DDatePeriod_properties2.phpt22 } catch (Error $e) {
28 } catch (Error $e) {
35 } catch (Error $e) {
45 Error: Cannot modify readonly property DatePeriod::$start
46 Error: Cannot modify readonly property DatePeriod::$start
47 Error: Cannot modify readonly property DatePeriod::$current
48 Error: Cannot modify readonly property DatePeriod::$current
49 Error: Cannot modify readonly property DatePeriod::$end
50 Error: Cannot modify readonly property DatePeriod::$end
51 Error: Cannot modify readonly property DatePeriod::$interval
[all …]
H A DDateTime_set_state_exception.phpt9 /* Error situations */
25 } catch (\Error $e) {
33 Error: Invalid serialization data for DateTime object
34 Error: Invalid serialization data for DateTime object
35 Error: Invalid serialization data for DateTime object
36 Error: Invalid serialization data for DateTime object
37 Error: Invalid serialization data for DateTime object
38 Error: Invalid serialization data for DateTime object
39 Error: Invalid serialization data for DateTime object
40 Error: Invalid serialization data for DateTime object
H A DDateTimeZone_set_state_exception.phpt23 } catch (\Error $e) {
31 Error: Invalid serialization data for DateTimeZone object
32 Error: Invalid serialization data for DateTimeZone object
33 Error: Invalid serialization data for DateTimeZone object
34 Error: Invalid serialization data for DateTimeZone object
35 Error: Invalid serialization data for DateTimeZone object
36 Error: Invalid serialization data for DateTimeZone object
37 Error: Invalid serialization data for DateTimeZone object
38 Error: Invalid serialization data for DateTimeZone object
H A DDateTimeImmutable_set_state_exception.phpt23 } catch (\Error $e) {
31 Error: Invalid serialization data for DateTimeImmutable object
32 Error: Invalid serialization data for DateTimeImmutable object
33 Error: Invalid serialization data for DateTimeImmutable object
34 Error: Invalid serialization data for DateTimeImmutable object
35 Error: Invalid serialization data for DateTimeImmutable object
36 Error: Invalid serialization data for DateTimeImmutable object
37 Error: Invalid serialization data for DateTimeImmutable object
38 Error: Invalid serialization data for DateTimeImmutable object
H A Dbug-gh11416.phpt13 } catch (Error $e) {
20 } catch (Error $e) {
29 } catch (Error $e) {
35 } catch (Error $e) {
41 } catch (Error $e) {
47 } catch (Error $e) {
57 } catch (Error $e) {
65 Error: Invalid serialization data for DatePeriod object
66 Error: Invalid serialization data for DatePeriod object
67 Error: Invalid serialization data for DatePeriod object
[all …]
/PHP-8.4/ext/spl/tests/
H A Dbug54384.phpt10 } catch (\Error $e) {
11 echo "Error (expected)\n";
157 IteratorIterator... Error (expected)
158 FilterIterator... Error (expected)
160 ParentIterator... Error (expected)
161 LimitIterator... Error (expected)
162 CachingIterator... Error (expected)
165 RegexIterator... Error (expected)
167 GlobIterator... Error (expected)
168 SplFileObject... Error (expected)
[all …]
/PHP-8.4/ext/standard/tests/serialize/
H A Dinvalid_signs_in_lengths.phpt21 Warning: unserialize(): Error at offset 0 of 9 bytes in %s on line %d
24 Warning: unserialize(): Error at offset 0 of 9 bytes in %s on line %d
27 Warning: unserialize(): Error at offset 0 of 7 bytes in %s on line %d
30 Warning: unserialize(): Error at offset 0 of 7 bytes in %s on line %d
33 Warning: unserialize(): Error at offset 0 of 20 bytes in %s on line %d
36 Warning: unserialize(): Error at offset 0 of 20 bytes in %s on line %d
39 Warning: unserialize(): Error at offset 0 of 24 bytes in %s on line %d
42 Warning: unserialize(): Error at offset 0 of 24 bytes in %s on line %d
45 Warning: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
48 Warning: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
[all …]
H A Dbug25378.phpt20 Warning: unserialize(): Error at offset 0 of 8 bytes in %s on line %d
23 Warning: unserialize(): Error at offset 0 of 5 bytes in %s on line %d
26 Warning: unserialize(): Error at offset 13 of 19 bytes in %s on line %d
29 Warning: unserialize(): Error at offset 14 of 19 bytes in %s on line %d
32 Warning: unserialize(): Error at offset 2 of 22 bytes in %s on line %d
35 Warning: unserialize(): Error at offset 17 of 18 bytes in %s on line %d
38 Warning: unserialize(): Error at offset 24 of 33 bytes in %s on line %d
47 Warning: unserialize(): Error at offset 2 of 13 bytes in %s on line %d
50 Warning: unserialize(): Error at offset 2 of 11 bytes in %s on line %d
53 Warning: unserialize(): Error at offset 8 of 9 bytes in %s on line %d
[all …]
/PHP-8.4/ext/tidy/tests/
H A D036.phpt13 } catch (Error $exception) {
19 } catch (Error $exception) {
25 } catch (Error $exception) {
31 } catch (Error $exception) {
37 } catch (Error $exception) {
43 } catch (Error $exception) {
49 } catch (Error $exception) {
55 } catch (Error $exception) {
61 } catch (Error $exception) {
/PHP-8.4/sapi/phpdbg/tests/
H A Dexceptions_002.phpt12 [Uncaught Error in %s on line 16: Call to undefined function foo()]
13 >00016: foo(); // Error
17 Fatal error: Uncaught Error: Call to undefined function next_error() in eval()'d code:1
23 prompt> [Uncaught Error in %s on line 16]
24 Error: Call to undefined function foo() in %s:16
36 foo(); // Error
47 foo(); // Error
/PHP-8.4/ext/dba/tests/
H A Ddba_array_keys_errors.phpt19 } catch (\Error $e) {
24 } catch (\Error $e) {
32 } catch (\Error $e) {
37 } catch (\Error $e) {
52 Error: dba_insert(): Argument #1 ($key) must have exactly two elements: "key" and "name"
53 Error: dba_insert(): Argument #1 ($key) must have exactly two elements: "key" and "name"
54 Error: Object of class stdClass could not be converted to string
55 Error: Object of class stdClass could not be converted to string
/PHP-8.4/Zend/tests/readonly_props/
H A Dreadonly_modification.phpt23 } catch (Error $e) {
28 } catch (Error $e) {
33 } catch (Error $e) {
38 } catch (Error $e) {
43 } catch (Error $e) {
48 } catch (Error $e) {
53 } catch (Error $e) {
60 } catch (Error $e) {
65 } catch (Error $e) {
/PHP-8.4/ext/intl/tests/
H A Dcalendar_get_getActualMaximum_Minumum_error2.phpt14 } catch (Error $e) {
19 } catch (Error $e) {
24 } catch (Error $e) {
30 } catch (Error $e) {
35 } catch (Error $e) {
40 } catch (Error $e) {
46 } catch (Error $e) {
51 } catch (Error $e) {
56 } catch (Error $e) {
62 } catch (Error $e) {
[all …]
H A Duconverter_func_subst.phpt13 echo "Error: ", intl_get_error_message(), "\n";
19 echo "Error: ", intl_get_error_message(), "\n";
28 Error: transcode() returned error 1: U_ILLEGAL_ARGUMENT_ERROR: U_ILLEGAL_ARGUMENT_ERROR
29 Error: transcode() returned error 1: U_ILLEGAL_ARGUMENT_ERROR: U_ILLEGAL_ARGUMENT_ERROR
30 Error: transcode() returned error 1: U_ILLEGAL_ARGUMENT_ERROR: U_ILLEGAL_ARGUMENT_ERROR
31 Error: transcode() returned error 1: U_ILLEGAL_ARGUMENT_ERROR: U_ILLEGAL_ARGUMENT_ERROR
/PHP-8.4/ext/bcmath/tests/number/operators/
H A Ddiv_by_zero.phpt11 } catch (Error $e) {
17 } catch (Error $e) {
23 } catch (Error $e) {
31 } catch (Error $e) {
37 } catch (Error $e) {
43 } catch (Error $e) {
H A Dmod_by_zero.phpt11 } catch (Error $e) {
17 } catch (Error $e) {
23 } catch (Error $e) {
31 } catch (Error $e) {
37 } catch (Error $e) {
43 } catch (Error $e) {
/PHP-8.4/ext/xml/tests/
H A Dgh15868.phpt10 throw new Error('stop 1');
16 } catch (Error $e) {
24 throw new Error('stop 2');
29 } catch (Error $e) {
35 throw new Error('stop 3');
39 } catch (Error $e) {

Completed in 22 milliseconds

12345678910>>...74