/php-src/Zend/tests/exceptions/ |
H A D | exception_from_toString.phpt | 8 throw new Exception("Exception"); 97 Exception 98 Exception 99 Exception 101 Exception 102 Exception 103 Exception 105 Exception 108 Exception 111 Exception [all …]
|
H A D | exception_007.phpt | 8 throw new Exception("First", 1, new Exception("Another", 0, NULL)); 10 catch (Exception $e) { 11 throw new Exception("Second", 2, $e); 14 catch (Exception $e) { 15 throw new Exception("Third", 3, $e); 21 Fatal error: Uncaught Exception: Another in %sexception_007.php:%d 25 Next Exception: First in %sexception_007.php:%d 29 Next Exception: Second in %sexception_007.php:%d 33 Next Exception: Third in %sexception_007.php:%d
|
/php-src/ext/dom/tests/ |
H A D | toString_exceptions.phpt | 10 throw new Exception("Exception"); 47 Exception 48 Exception 49 Exception 50 Exception 51 Exception 52 Exception 53 Exception 54 Exception 55 Exception [all …]
|
/php-src/Zend/tests/temporary_cleaning/ |
H A D | temporary_cleaning_013.phpt | 11 } catch (Exception $e) { print "caught Exception 1\n"; } 17 } catch (Exception $e) { print "caught Exception 2\n"; } 24 } catch (Exception $e) { print "caught Exception 3\n"; } 31 } catch (Exception $e) { print "caught Exception 4\n"; } 41 } catch (Exception $e) { print "caught Exception 5\n"; } 51 } catch (Exception $e) { print "caught Exception 6\n"; } 63 } catch (Exception $e) { print "caught Exception 7\n"; } 76 } catch (Exception $e) { print "caught Exception 8\n"; } 84 } catch (Exception $e) { print "caught Exception 9\n"; } 92 } catch (Exception $e) { print "caught Exception 10\n"; } [all …]
|
H A D | temporary_cleaning_007.phpt | 2 Exception inside a foreach loop with return 6 public function isConsistent() { throw new \Exception(); } 15 } catch (\Exception $e) { 16 echo "Exception\n"; 21 Exception 22 Exception
|
/php-src/Zend/tests/throw/ |
H A D | 001.phpt | 9 } catch (Exception $e) { 16 } catch (Exception $e) { 23 } catch (Exception $e) { 30 } catch (Exception $e) { 37 } catch (Exception $e) { 44 } catch (Exception $e) { 51 } catch (Exception $e) { 58 } catch (Exception $e) { 65 } catch (Exception $e) { 72 } catch (Exception $e) { [all …]
|
H A D | 002.phpt | 26 } catch(Exception $e) { 32 } catch(Exception $e) { 37 throw true ? new Exception('Ternary true 1') : new Exception('Ternary true 2'); 38 } catch(Exception $e) { 44 } catch(Exception $e) { 52 } catch(Exception $e) { 60 } catch(Exception $e) { 66 } catch(Exception $e) { 73 } catch(Exception $e) { 80 } catch(Exception $e) { [all …]
|
/php-src/Zend/tests/ |
H A D | bug76502.phpt | 7 "Exception(Exception())" => new Exception("outer", 0, new Exception("inner")), 9 "Error(Exception())" => new Error("outer", 0, new Exception("inner")), 10 "Exception(Error())" => new Exception("outer", 0, new Error("inner")) 25 ---- Exception(Exception()) ---- 26 before: Exception.previous == Exception 27 after : Exception.previous == Exception 31 ---- Error(Exception()) ---- 32 before: Error.previous == Exception 33 after : Error.previous == Exception 34 ---- Exception(Error()) ---- [all …]
|
H A D | bug70944.phpt | 6 $e = new Exception("Foo"); 8 throw new Exception("Bar", 0, $e); 12 } catch (Exception $e) { 17 $e = new Exception("Foo"); 19 throw new Exception("Bar", 0, $e); 21 throw new Exception("Dummy", 0, $e); 23 } catch (Exception $e) { 28 string(%d) "Exception: Foo in %sbug70944.php:%d 31 string(%d) "Exception: Foo in %sbug70944.php:%d 35 Next Exception: Dummy in %sbug70944.php:%d
|
H A D | bug65784.phpt | 7 throw new Exception("not catch"); 11 throw new Exception("caught"); 12 } catch (Exception $e) { 19 } catch (Exception $e) { 28 throw new Exception("caught"); 32 throw new Exception("caught"); 33 } catch (Exception $e) { 36 } catch (Exception $e) { 45 throw new Exception("not caught"); 50 } catch (Exception $e) { [all …]
|
/php-src/Zend/tests/try/ |
H A D | catch_novar_1.phpt | 7 throw new Exception(); 8 } catch (Exception) { 9 echo "Exception\n"; 13 throw new Exception(); 14 } catch (Exception) { 15 echo "Exception\n"; 21 throw new Exception(); 23 echo "Exception\n"; 30 Exception 31 Exception [all …]
|
H A D | try_finally_024.phpt | 2 Exception in finally inside finally following try/catch containing throwing try/finally 8 throw new Exception(1); 13 throw new Exception(2); 15 } catch (Exception $e) {} 18 throw new Exception(3); 25 } catch (Exception $e) { 30 Exception: 1 in %s:%d 35 Next Exception: 3 in %s:%d
|
H A D | try_finally_026.phpt | 8 throw new Exception(1); 11 throw new Exception(2); 12 } catch (Exception $e) { 15 throw new Exception(3); 23 } catch (Exception $e) { 29 Exception: 1 in %s:%d 34 Next Exception: 3 in %s:%d
|
/php-src/tests/lang/operators/ |
H A D | bitwiseShiftLeft_basiclong_64bit.phpt | 54 Exception: Bit shift by negative number 62 Exception: Bit shift by negative number 72 Exception: Bit shift by negative number 80 Exception: Bit shift by negative number 90 Exception: Bit shift by negative number 98 Exception: Bit shift by negative number 108 Exception: Bit shift by negative number 116 Exception: Bit shift by negative number 126 Exception: Bit shift by negative number 134 Exception: Bit shift by negative number [all …]
|
H A D | bitwiseShiftRight_basiclong_64bit.phpt | 54 Exception: Bit shift by negative number 62 Exception: Bit shift by negative number 72 Exception: Bit shift by negative number 80 Exception: Bit shift by negative number 90 Exception: Bit shift by negative number 98 Exception: Bit shift by negative number 108 Exception: Bit shift by negative number 116 Exception: Bit shift by negative number 126 Exception: Bit shift by negative number 134 Exception: Bit shift by negative number [all …]
|
/php-src/ext/spl/tests/ |
H A D | heap_004.phpt | 20 } catch(Exception $e) { 21 echo "Exception: ".$e->getMessage()."\n"; 27 } catch(Exception $e) { 28 echo "Exception: ".$e->getMessage()."\n"; 33 } catch(Exception $e) { 34 echo "Exception: ".$e->getMessage()."\n"; 38 } catch(Exception $e) { 39 echo "Exception: ".$e->getMessage()."\n"; 47 } catch(Exception $e) { 52 } catch(Exception $e) { [all …]
|
H A D | pqueue_002.phpt | 20 } catch(Exception $e) { 21 echo "Exception: ".$e->getMessage()."\n"; 27 } catch(Exception $e) { 28 echo "Exception: ".$e->getMessage()."\n"; 33 } catch(Exception $e) { 34 echo "Exception: ".$e->getMessage()."\n"; 38 } catch(Exception $e) { 39 echo "Exception: ".$e->getMessage()."\n"; 47 } catch(Exception $e) { 52 } catch(Exception $e) { [all …]
|
/php-src/ext/reflection/tests/ |
H A D | bug77882.phpt | 8 throw new Exception(); 18 } catch (Exception $e) { 19 echo "Exception\n"; 24 } catch (Exception $e) { 25 echo "Exception\n"; 30 } catch (Exception $e) { 31 echo "Exception\n"; 36 Exception 37 Exception 38 Exception
|
/php-src/ext/com_dotnet/tests/ |
H A D | bug77177.phpt | 17 } catch (Exception $ex) { 18 echo "Exception: {$ex->getMessage()}\n"; 26 } catch (Exception $ex) { 27 echo "Exception: {$ex->getMessage()}\n"; 35 } catch (Exception $ex) { 36 echo "Exception: {$ex->getMessage()}\n"; 41 Exception: Serialization of 'com' is not allowed 42 Exception: Serialization of 'dotnet' is not allowed 43 Exception: Serialization of 'variant' is not allowed 44 Exception: Unserialization of 'com' is not allowed [all …]
|
/php-src/ext/opcache/tests/ |
H A D | bug65665.phpt | 20 catch (Exception $e) 30 throw new Exception('aaa'); 32 catch (Exception $e) 40 catch (Exception $e) 57 catch (Exception $e) 68 throw new Exception('aaa'); 70 catch (Exception $e) 78 catch (Exception $e) 94 throw new Exception('aaa'); 96 catch (Exception $e) [all …]
|
/php-src/ext/sqlite3/tests/ |
H A D | bug72668.phpt | 8 throw new \Exception("test exception\n"); 18 catch(\Exception $e) { 19 echo "Exception: ".$e->getMessage(); 25 catch(\Exception $e) { 26 echo "Exception: ".$e->getMessage(); 33 catch(\Exception $e) { 34 echo "Exception: ".$e->getMessage(); 38 Exception: test exception 39 Exception: test exception 40 Exception: test exception
|
/php-src/ext/zend_test/tests/ |
H A D | observer_exception_01.phpt | 38 <!-- init Exception::__construct() --> 39 <Exception::__construct> 40 </Exception::__construct> 41 <!-- Exception: RuntimeException --> 43 <!-- Exception: RuntimeException --> 45 <!-- init Exception::__toString() --> 46 <Exception::__toString> 47 <!-- init Exception::getTraceAsString() --> 48 <Exception::getTraceAsString> 49 </Exception::getTraceAsString> [all …]
|
H A D | observer_generator_05.phpt | 42 <!-- init Exception::__construct() --> 43 <Exception::__construct> 44 </Exception::__construct:NULL> 45 <!-- Exception: RuntimeException --> 47 <!-- Exception: RuntimeException --> 49 <!-- Exception: RuntimeException --> 51 <!-- init Exception::__toString() --> 52 <Exception::__toString> 53 <!-- init Exception::getTraceAsString() --> 54 <Exception::getTraceAsString> [all …]
|
/php-src/tests/classes/ |
H A D | __call_006.phpt | 8 throw new Exception; 27 } catch (Exception $e) { 28 echo "Exception caught OK; continuing.\n"; 34 } catch (Exception $e) { 35 echo "Exception caught OK; continuing.\n"; 42 } catch (Exception $e) { 49 } catch (Exception $e) { 57 Exception caught OK; continuing. 63 Exception caught OK; continuing. 69 Exception caught OK; continuing. [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_all_basic.phpt | 32 echo '*** Test Exception after false result ***' . PHP_EOL; 36 throw new Exception("Test-Exception"); 41 } catch (Exception) { 42 var_dump("Unexpected Exception"); 49 throw new Exception("Test-Exception"); 56 } catch (Exception) { 57 var_dump("Catched Exception"); 78 *** Test Exception after false result *** 82 string(17) "Catched Exception"
|