/PHP-5.5/ext/com_dotnet/tests/ |
H A D | variants.phpt | 76 exception Type mismatch. 82 exception Type mismatch. 87 exception Type mismatch. 92 exception Type mismatch. 97 exception Type mismatch. 102 exception Type mismatch. 107 exception Type mismatch. 112 exception Type mismatch. 117 exception Type mismatch. 122 exception Type mismatch. [all …]
|
/PHP-5.5/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-5.5/Zend/ |
H A D | zend_exceptions.c | 41 if (exception == add_previous || !add_previous || !exception) { in zend_exception_set_previous() 48 …while (exception && exception != add_previous && Z_OBJ_HANDLE_P(exception) != Z_OBJ_HANDLE_P(add_p… in zend_exception_set_previous() 55 exception = previous; in zend_exception_set_previous() 64 if (EG(exception)) { in zend_exception_save() 67 EG(exception) = NULL; in zend_exception_save() 74 if (EG(exception)) { in zend_exception_restore() 102 zend_exception_set_previous(exception, EG(exception) TSRMLS_CC); in zend_throw_exception_internal() 103 EG(exception) = exception; in zend_throw_exception_internal() 109 if(EG(exception)) { in zend_throw_exception_internal() 135 if (!EG(exception)) { in zend_clear_exception() [all …]
|
H A D | zend_exceptions.h | 29 ZEND_API void zend_exception_set_previous(zval *exception, zval *add_previous TSRMLS_DC); 33 void zend_throw_exception_internal(zval *exception TSRMLS_DC); 45 ZEND_API void zend_throw_exception_object(zval *exception TSRMLS_DC); 53 ZEND_API void zend_exception_error(zval *exception, int severity TSRMLS_DC);
|
/PHP-5.5/ext/xsl/tests/ |
H A D | bug49634.phpt | 33 throw new Exception('Test exception.'); 55 exception 'Exception' with message 'Test exception.' in %s:%d 60 exception 'Exception' with message 'Test exception.' in %s:%d 65 exception 'Exception' with message 'Test exception.' in %s:%d 70 exception 'Exception' with message 'Test exception.' in %s:%d 75 exception 'Exception' with message 'Test exception.' in %s:%d 80 exception 'Exception' with message 'Test exception.' in %s:%d 85 exception 'Exception' with message 'Test exception.' in %s:%d 90 exception 'Exception' with message 'Test exception.' in %s:%d 95 exception 'Exception' with message 'Test exception.' in %s:%d [all …]
|
/PHP-5.5/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 …]
|
/PHP-5.5/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 | exception_007.phpt | 2 Setting previous exception 21 Fatal error: Uncaught exception 'Exception' with message 'Another' in %sexception_007.php:%d 25 Next exception 'Exception' with message 'First' in %sexception_007.php:%d 29 Next exception 'Exception' with message 'Second' in %sexception_007.php:%d 33 Next exception 'Exception' with message 'Third' in %sexception_007.php:%d
|
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 | bug41421.phpt | 2 Bug #41421 (Uncaught exception from a stream wrapper segfaults) 11 throw new exception(); 24 Fatal error: Uncaught exception 'Exception' in %s:%d
|
H A D | bug52361.phpt | 2 Bug #52361 (Throwing an exception in a destructor causes invalid catching) 26 1. exception 'Exception' with message 'aaa' in %sbug52361.php:5 31 2. exception 'Exception' with message 'bbb' in %sbug52361.php:13
|
H A D | exception_008.phpt | 2 Exception in __destruct while exception is pending 27 Fatal error: Uncaught exception 'Exception' with message 'First' in %sexception_008.php:%d 32 Next exception 'Exception' with message 'Second' in %sexception_008.php:%d
|
H A D | bug53511.phpt | 2 Bug #53511 (Exceptions are lost in case an exception is thrown in catch operator) 23 Fatal error: Uncaught exception 'Exception' with message 'ops 2' in %sbug53511.php:11 28 Next exception 'Exception' with message 'ops 1' in %sbug53511.php:4
|
/PHP-5.5/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) {
|
H A D | ReflectionMethod_constructor_error1.phpt | 68 exception 'ReflectionException' with message 'Invalid method name 1' in %s 73 exception 'ReflectionException' with message 'Invalid method name 3' in %s 78 exception 'ReflectionException' with message 'The parameter class is expected to be either a string… 83 exception 'ReflectionException' with message 'Method TestClass::1() does not exist' in %s 88 exception 'ReflectionException' with message 'Invalid method name TestClass' in %s 93 exception 'ReflectionException' with message 'Method TestClass::foop::dedoop() does not exist' in %s 98 exception 'ReflectionException' with message 'Class TestCla does not exist' in %s
|
/PHP-5.5/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-5.5/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-5.5/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 65 Fatal error: Uncaught exception 'DOMException' with message 'Hierarchy Request Error' in %sdom003.p…
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_map_001.phpt | 9 throw new exception(1); 15 var_dump("exception caught!"); 22 string(17) "exception caught!"
|
/PHP-5.5/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 | throw_rethrow.phpt | 2 Generator::throw() where the generator throws a different exception 23 Caught: exception 'RuntimeException' with message 'throw' in %s:%d 28 Fatal error: Uncaught exception 'LogicException' with message 'new throw' in %s:%d
|
/PHP-5.5/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-5.5/ext/phar/tests/ |
H A D | bug46032.phpt | 13 } catch (exception $e) { } 19 } catch (exception $e) { } 30 Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Cannot create phar '000000…
|