/php-src/Zend/tests/ |
H A D | bug76502.phpt | 8 "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 D | bug73338.phpt | 6 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 D | bug53432.phpt | 29 } 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 D | string_offset_as_object.phpt | 9 } 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 D | assign_dim_obj_null_return.phpt | 12 } 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 D | throwable_001.phpt | 2 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 D | throwable_002.phpt | 2 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-src/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_extendederror_attr.phpt | 17 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-src/ext/date/tests/ |
H A D | DatePeriod_properties2.phpt | 22 } 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 D | DateTime_set_state_exception.phpt | 9 /* 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 D | DateTimeZone_set_state_exception.phpt | 23 } 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 D | DateTimeImmutable_set_state_exception.phpt | 23 } 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 D | date_period_unset_property.phpt | 16 } catch (Error $e) { 22 } catch (Error $e) { 28 } catch (Error $e) { 34 } catch (Error $e) { 40 } catch (Error $e) { 46 } catch (Error $e) { 52 } catch (Error $e) { 58 } catch (Error $e) {
|
H A D | bug-gh11416.phpt | 13 } 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-src/ext/spl/tests/ |
H A D | bug54384.phpt | 10 } 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-src/ext/standard/tests/serialize/ |
H A D | invalid_signs_in_lengths.phpt | 21 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 D | bug25378.phpt | 20 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-src/ext/tidy/tests/ |
H A D | 036.phpt | 13 } 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-src/sapi/phpdbg/tests/ |
H A D | exceptions_002.phpt | 12 [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-src/ext/dba/tests/ |
H A D | dba_array_keys_errors.phpt | 19 } 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-src/Zend/tests/readonly_props/ |
H A D | readonly_modification.phpt | 23 } 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-src/ext/intl/tests/ |
H A D | calendar_get_getActualMaximum_Minumum_error2.phpt | 14 } 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 D | uconverter_func_subst.phpt | 13 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-src/ext/bcmath/tests/number/operators/ |
H A D | div_by_zero.phpt | 11 } 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 D | mod_by_zero.phpt | 11 } catch (Error $e) { 17 } catch (Error $e) { 23 } catch (Error $e) { 31 } catch (Error $e) { 37 } catch (Error $e) { 43 } catch (Error $e) {
|