/PHP-7.1/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.1/tests/lang/ |
H A D | error_2_exception_001.phpt | 33 } catch (MyException $exception) { 34 echo "There was an exception: " . $exception->getErrno() . ", '" . $exception->getErrmsg() . "'\n"; 38 trigger_error("I will become an exception", E_USER_ERROR); 39 } catch (MyException $exception) { 40 echo "There was an exception: " . $exception->getErrno() . ", '" . $exception->getErrmsg() . "'\n"; 45 There was an exception: 256, 'I will become an exception'
|
H A D | 035.phpt | 20 throw new MyException("'This is an exception!'"); 25 } catch (MyException $exception) { 26 print "There shouldn't be an exception: " . $exception->getException(); 32 } catch (MyException $exception) { 33 print "There was an exception: " . $exception->getException(); 38 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.1/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() 743 exception = GET_PROPERTY(exception, ZEND_STR_PREVIOUS); in ZEND_METHOD() 744 …if (exception && Z_TYPE_P(exception) == IS_OBJECT && Z_OBJPROP_P(exception)->u.v.nApplyCount > 0) { in ZEND_METHOD() 752 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && (base_ce = i_get_exception_base(exception)… in ZEND_METHOD() 758 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.1/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.1/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 | 19 set_exception_handler(function($exception) { 21 $h->handle($exception); 24 throw new Exception('exception'); 27 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!
|
/PHP-7.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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
|
/PHP-7.1/Zend/tests/closures/ |
H A D | closure_from_callable_error.phpt | 17 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 30 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 42 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 54 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 66 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 78 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 90 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 102 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 114 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; 126 echo "Wrong exception type thrown: ".get_class($t)." : ".$t->getMessage()."\n"; [all …]
|
/PHP-7.1/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_autocommit_2.phpt | 30 echo "Caught unexpected exception at line " . __LINE__ . "\n"; 35 echo "Test 2 Cause an exception and test beginTransaction rollback\n"; 44 echo "Caught expected exception at line " . __LINE__ . "\n"; 59 echo "Caught expected exception at line " . __LINE__ . "\n"; 74 echo "Caught expected exception at line " . __LINE__ . "\n"; 106 Test 2 Cause an exception and test beginTransaction rollback 107 Caught expected exception at line 35 112 Caught expected exception at line %d 116 Caught expected exception at line %d
|