/PHP-7.0/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.0/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.0/Zend/ |
H A D | zend_exceptions.c | 77 if (exception == add_previous || !add_previous || !exception) { in zend_exception_set_previous() 112 if (EG(exception)) { in zend_exception_save() 146 zend_exception_set_previous(Z_OBJ_P(exception), EG(exception)); in zend_throw_exception_internal() 147 EG(exception) = Z_OBJ_P(exception); in zend_throw_exception_internal() 153 if (exception && Z_OBJCE_P(exception) == zend_ce_parse_error) { in zend_throw_exception_internal() 156 if(EG(exception)) { in zend_throw_exception_internal() 779 exception = GET_PROPERTY(exception, "previous"); in ZEND_METHOD() 780 …if (exception && Z_TYPE_P(exception) == IS_OBJECT && Z_OBJPROP_P(exception)->u.v.nApplyCount > 0) { in ZEND_METHOD() 788 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && (base_ce = i_get_exception_base(exception)… in ZEND_METHOD() 794 exception = GET_PROPERTY(exception, "previous"); in ZEND_METHOD() [all …]
|
H A D | zend_exceptions.h | 38 ZEND_API void zend_exception_set_previous(zend_object *exception, zend_object *add_previous); 42 ZEND_API ZEND_COLD void zend_throw_exception_internal(zval *exception); 60 ZEND_API ZEND_COLD void zend_throw_exception_object(zval *exception); 68 ZEND_API ZEND_COLD void zend_exception_error(zend_object *exception, int severity);
|
/PHP-7.0/ext/spl/tests/ |
H A D | bug54384.phpt | 11 echo "exception (expected)\n"; 157 IteratorIterator... exception (expected) 158 FilterIterator... exception (expected) 160 ParentIterator... exception (expected) 161 LimitIterator... exception (expected) 162 CachingIterator... exception (expected) 164 NoRewindIterator... exception (expected) 165 RegexIterator... exception (expected) 167 GlobIterator... exception (expected) 168 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
|
H A D | iterator_067.phpt | 10 echo "no exception"; 16 no exception
|
H A D | bug70853.phpt | 2 Bug #70853 (SplFixedArray throws exception when using ref variable as index) 9 $list[$ndx] = 123; // This throws an exception;
|
/PHP-7.0/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.0/Zend/tests/ |
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 | 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!
|
/PHP-7.0/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.0/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.0/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.0/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.0/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.0/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.0/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"
|
H A D | bug74954.phpt | 14 } catch (Exception $e) { print "Caught exception!\n$e\n"; } 33 Caught exception! 40 Caught exception!
|
/PHP-7.0/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.0/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
|
/PHP-7.0/ext/dom/tests/ |
H A D | dom003.phpt | 11 print "--- Catch exception with try/catch\n"; 21 print "--- Don't catch exception with try/catch\n"; 27 --- Catch exception with try/catch 63 --- Don't catch exception with try/catch
|