/PHP-5.3/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.3/Zend/ |
H A D | zend_exceptions.c | 40 if (exception == add_previous || !add_previous || !exception) { in zend_exception_set_previous() 47 …while (exception && exception != add_previous && Z_OBJ_HANDLE_P(exception) != Z_OBJ_HANDLE_P(add_p… in zend_exception_set_previous() 63 if (EG(exception)) { in zend_exception_save() 66 EG(exception) = NULL; in zend_exception_save() 73 if (EG(exception)) { in zend_exception_restore() 87 zend_exception_set_previous(exception, EG(exception) TSRMLS_CC); in zend_throw_exception_internal() 88 EG(exception) = exception; in zend_throw_exception_internal() 94 if(EG(exception)) { in zend_throw_exception_internal() 120 if (!EG(exception)) { in zend_clear_exception() 579 while (exception && Z_TYPE_P(exception) == IS_OBJECT) { in ZEND_METHOD() [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);
|
H A D | zend_objects.c | 104 if (EG(exception)) { in zend_objects_destroy_object() 105 if (Z_OBJ_HANDLE_P(EG(exception)) == handle) { in zend_objects_destroy_object() 108 old_exception = EG(exception); in zend_objects_destroy_object() 109 EG(exception) = NULL; in zend_objects_destroy_object() 114 if (EG(exception)) { in zend_objects_destroy_object() 115 zend_exception_set_previous(EG(exception), old_exception TSRMLS_CC); in zend_objects_destroy_object() 117 EG(exception) = old_exception; in zend_objects_destroy_object()
|
/PHP-5.3/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.3/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 | iterator_067.phpt | 10 echo "no exception"; 16 no exception
|
/PHP-5.3/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 | exception_003.phpt | 2 Throwing exception in global scope 11 Fatal error: Uncaught exception 'Exception' with message '1' in %s:%d
|
H A D | zend2.php.txt | 170 throw new MyException("'This is an exception!'"); 175 } catch (MyException $exception) { 176 print "There was an exception: " . $exception->getException(); 182 } catch (MyException $exception) { 183 print "There was an exception: " . $exception->getException();
|
/PHP-5.3/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.3/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.3/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.3/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.3/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.3/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.3/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…
|