/PHP-7.2/ext/com_dotnet/tests/ |
H A D | variants.phpt | 77 exception Type mismatch. 83 exception Type mismatch. 88 exception Type mismatch. 93 exception Type mismatch. 98 exception Type mismatch. 103 exception Type mismatch. 108 exception Type mismatch. 113 exception Type mismatch. 118 exception Type mismatch. 123 exception Type mismatch. [all …]
|
H A D | variants_x64.phpt | 80 exception Type mismatch. 86 exception Type mismatch. 91 exception Type mismatch. 96 exception Type mismatch. 101 exception Type mismatch. 106 exception Type mismatch. 111 exception Type mismatch. 116 exception Type mismatch. 121 exception Type mismatch. 126 exception Type mismatch. [all …]
|
/PHP-7.2/tests/lang/ |
H A D | error_2_exception_001.phpt | 31 } catch (MyException $exception) { 32 echo "There was an exception: " . $exception->getErrno() . ", '" . $exception->getErrmsg() . "'\n"; 36 trigger_error("I will become an exception", E_USER_ERROR); 37 } catch (MyException $exception) { 38 echo "There was an exception: " . $exception->getErrno() . ", '" . $exception->getErrmsg() . "'\n"; 43 There was an exception: 256, 'I will become an exception'
|
H A D | 035.phpt | 18 throw new MyException("'This is an exception!'"); 23 } catch (MyException $exception) { 24 print "There shouldn't be an exception: " . $exception->getException(); 30 } catch (MyException $exception) { 31 print "There was an exception: " . $exception->getException(); 36 There was an exception: 'This is an exception!'
|
H A D | throw_variation_001.phpt | 2 Catching an exception thrown from an included file 9 echo "caught exception\n"; 14 caught exception
|
/PHP-7.2/Zend/ |
H A D | zend_exceptions.c | 80 if (exception == add_previous || !add_previous || !exception) { in zend_exception_set_previous() 116 if (EG(exception)) { in zend_exception_save() 150 zend_exception_set_previous(Z_OBJ_P(exception), EG(exception)); in zend_throw_exception_internal() 151 EG(exception) = Z_OBJ_P(exception); in zend_throw_exception_internal() 157 if (exception && Z_OBJCE_P(exception) == zend_ce_parse_error) { in zend_throw_exception_internal() 160 if(EG(exception)) { in zend_throw_exception_internal() 727 exception = GET_PROPERTY(exception, ZEND_STR_PREVIOUS); in ZEND_METHOD() 728 …if (exception && Z_TYPE_P(exception) == IS_OBJECT && Z_OBJPROP_P(exception)->u.v.nApplyCount > 0) { in ZEND_METHOD() 736 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && (base_ce = i_get_exception_base(exception)… in ZEND_METHOD() 742 exception = GET_PROPERTY(exception, ZEND_STR_PREVIOUS); in ZEND_METHOD() [all …]
|
H A D | zend_exceptions.h | 39 ZEND_API void zend_exception_set_previous(zend_object *exception, zend_object *add_previous); 43 ZEND_API ZEND_COLD void zend_throw_exception_internal(zval *exception); 61 ZEND_API ZEND_COLD void zend_throw_exception_object(zval *exception); 69 ZEND_API ZEND_COLD void zend_exception_error(zend_object *exception, int severity);
|
/PHP-7.2/ext/spl/tests/ |
H A D | bug54384.phpt | 11 echo "exception (expected)\n"; 156 IteratorIterator... exception (expected) 157 FilterIterator... exception (expected) 159 ParentIterator... exception (expected) 160 LimitIterator... exception (expected) 161 CachingIterator... exception (expected) 163 NoRewindIterator... exception (expected) 164 RegexIterator... exception (expected) 166 GlobIterator... exception (expected) 167 SplFileObject... exception (expected) [all …]
|
H A D | bug73629.phpt | 9 echo 'unexpected exception: ' . $e->getMessage() . "\n"; 14 echo 'expected exception: ' . $e->getMessage() . "\n"; 19 expected exception: Iterators' LIFO/FIFO modes for SplStack/SplQueue objects are frozen
|
/PHP-7.2/Zend/tests/ |
H A D | this_in_isset.phpt | 9 echo "exception\n"; 14 echo "exception\n"; 19 echo "exception\n"; 36 exception 37 exception 38 exception
|
H A D | bug47714.phpt | 15 set_exception_handler(function($exception) { 17 $h->handle($exception); 20 throw new Exception('exception'); 23 exception
|
H A D | bug76025.phpt | 2 Bug #76025 (Segfault while throwing exception in error_handler) 7 $exception = new exception("blah"); 8 throw $exception;
|
H A D | bug29368.phpt | 2 Bug #29368 (The destructor is called when an exception is thrown from the constructor) 24 echo "Caught exception!\n"; 33 Caught exception!
|
H A D | bug29368_1.phpt | 2 Bug #29368.1 (The destructor is called when an exception is thrown from the constructor). 24 echo "Caught exception!\n"; 29 Caught exception!
|
H A D | ErrorException_getSeverity.phpt | 866 This exception severity is: 1bool(true) 872 This exception severity is: 1bool(true) 878 This exception severity is: 1bool(true) 884 This exception severity is: 1bool(true) 890 This exception severity is: 2bool(true) 896 This exception severity is: 4bool(true) 902 This exception severity is: 8bool(true) 980 This exception severity is: 1bool(true) 986 This exception severity is: 2bool(true) 992 This exception severity is: 4bool(true) [all …]
|
/PHP-7.2/ext/xsl/tests/ |
H A D | bug49634.phpt | 33 throw new Exception('Test exception.'); 55 Exception: Test exception. in %s:%d 60 Exception: Test exception. in %s:%d 65 Exception: Test exception. in %s:%d 70 Exception: Test exception. in %s:%d 75 Exception: Test exception. in %s:%d 80 Exception: Test exception. in %s:%d 85 Exception: Test exception. in %s:%d 90 Exception: Test exception. in %s:%d 95 Exception: Test exception. in %s:%d [all …]
|
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionClass_getProperty_002.phpt | 16 } catch (exception $e) { 21 } catch (exception $e) { 26 } catch (exception $e) { 31 } catch (exception $e) { 36 } catch (exception $e) { 41 } catch (exception $e) { 46 } catch (exception $e) { 51 } catch (exception $e) {
|
/PHP-7.2/ext/standard/tests/class_object/ |
H A D | method_exists_basic_002.phpt | 12 echo "Does exception::getmessage exist? "; 13 var_dump(method_exists("exception", "getmessage")); 18 echo "Does exception::getmessage exist? "; 19 var_dump(method_exists(new exception, "getmessage")); 27 Does exception::getmessage exist? bool(true) 31 Does exception::getmessage exist? bool(true)
|
/PHP-7.2/Zend/tests/try/ |
H A D | try_finally_012.phpt | 2 Try finally (exception in "return" statement) 17 echo "exception in foo\n"; 26 echo "exception in main\n"; 31 exception in main
|
/PHP-7.2/ext/sqlite3/tests/ |
H A D | bug72668.phpt | 2 Bug #72668 (Spurious warning when exception is thrown in user defined function) 9 throw new \Exception("test exception\n"); 39 Exception: test exception 40 Exception: test exception 41 Exception: test exception
|
/PHP-7.2/ext/date/tests/ |
H A D | DatePeriod_wrong_recurrence_on_constructor.phpt | 7 } catch (Exception $exception) { 8 echo $exception->getMessage(), "\n"; 13 } catch (Exception $exception) { 14 echo $exception->getMessage(), "\n";
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | bug25038.phpt | 2 Bug #25038 (call_user_func issues warning if function throws exception) 8 throw new Exception("This is an exception from bar({$x})."); 30 This is an exception from bar(first try). 31 This is an exception from bar(second try).
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_map_001.phpt | 9 throw new exception(1); 15 var_dump("exception caught!"); 21 string(17) "exception caught!"
|
/PHP-7.2/Zend/tests/generators/ |
H A D | generator_throwing_during_function_call.phpt | 2 Stack is cleaned up properly when an exception is thrown during a function call 23 echo 'Caught exception with message "', $e->getMessage(), '"', "\n"; 31 Caught exception with message "test"
|
/PHP-7.2/tests/basic/ |
H A D | timeout_variation_6.phpt | 2 Timeout within function trowing exception before timeout reached 17 throw new Exception("exception before timeout"); 25 Fatal error: Uncaught Exception: exception before timeout in %s:%d
|