/PHP-7.1/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 | compound_assign_failure.phpt | 37 catch (Exception $e) {} 42 catch (Exception $e) {} 47 catch (Exception $e) {} 52 catch (Exception $e) {} 57 catch (Exception $e) {} 62 catch (Exception $e) {} 67 catch (Exception $e) {} 72 catch (Exception $e) {} 77 catch (Exception $e) {} 82 catch (Exception $e) {} [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
|
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("catched"); 12 } catch (Exception $e) { 19 } catch (Exception $e) { 28 throw new Exception("catched"); 32 throw new Exception("catched"); 33 } catch (Exception $e) { 36 } catch (Exception $e) { 45 throw new Exception("not catched"); 50 } catch (Exception $e) { [all …]
|
H A D | exception_010.phpt | 2 Testing Exception's methods 6 $x = new Exception; 18 Warning: Exception::getTraceAsString() expects exactly 0 parameters, 1 given in %s on line %d 20 Warning: Exception::__toString() expects exactly 0 parameters, 1 given in %s on line %d 22 Warning: Exception::getTrace() expects exactly 0 parameters, 1 given in %s on line %d 24 Warning: Exception::getLine() expects exactly 0 parameters, 1 given in %s on line %d 26 Warning: Exception::getFile() expects exactly 0 parameters, 1 given in %s on line %d 28 Warning: Exception::getMessage() expects exactly 0 parameters, 1 given in %s on line %d 30 Warning: Exception::getCode() expects exactly 0 parameters, 1 given in %s on line %d
|
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
|
H A D | bug61011.phpt | 6 throw new Exception($name); 10 } catch (Exception $e) { 13 } catch (Exception $e) { 16 } catch (Exception $e) { 19 } catch (Exception $e){ 22 } catch (Exception $e) { 26 } catch (Exception $e) {
|
H A D | bug35017.phpt | 2 Bug #35017 (Exception thrown in error handler may cause unexpected behavior) 13 } catch(Exception $e) { 14 echo "This Exception should be catched\n"; 17 throw new Exception('Some Exception'); 21 This Exception should be catched
|
H A D | exception_in_rope_end.phpt | 2 Exception during rope finalization 6 set_error_handler(function() { throw new Exception; }); 11 } catch (Exception $e) { 12 echo "Exception\n"; 17 Exception
|
/PHP-7.1/tests/lang/operators/ |
H A D | bitwiseShiftLeft_basiclong_64bit.phpt | 55 Exception: Bit shift by negative number 63 Exception: Bit shift by negative number 73 Exception: Bit shift by negative number 81 Exception: Bit shift by negative number 91 Exception: Bit shift by negative number 99 Exception: Bit shift by negative number 109 Exception: Bit shift by negative number 117 Exception: Bit shift by negative number 127 Exception: Bit shift by negative number 135 Exception: Bit shift by negative number [all …]
|
H A D | bitwiseShiftRight_basiclong_64bit.phpt | 55 Exception: Bit shift by negative number 63 Exception: Bit shift by negative number 73 Exception: Bit shift by negative number 81 Exception: Bit shift by negative number 91 Exception: Bit shift by negative number 99 Exception: Bit shift by negative number 109 Exception: Bit shift by negative number 117 Exception: Bit shift by negative number 127 Exception: Bit shift by negative number 135 Exception: Bit shift by negative number [all …]
|
H A D | modulus_variationStr.phpt | 29 Exception: Modulo by zero 39 Exception: Modulo by zero 55 Exception: Modulo by zero 57 Exception: Modulo by zero 67 Exception: Modulo by zero 83 Exception: Modulo by zero 85 Exception: Modulo by zero 95 Exception: Modulo by zero 111 Exception: Modulo by zero 113 Exception: Modulo by zero [all …]
|
/PHP-7.1/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 …]
|
H A D | iterator_037.phpt | 14 catch (Exception $e) 16 echo 'Exception: ' . $e->getMessage() . "\n"; 28 catch (Exception $e) 30 echo 'Exception: ' . $e->getMessage() . "\n"; 76 catch (Exception $e) 78 echo 'Exception: ' . $e->getMessage() . "\n"; 85 catch (Exception $e) 87 echo 'Exception: ' . $e->getMessage() . "\n"; 114 Exception: Flags must contain only one of CALL_TOSTRING, TOSTRING_USE_KEY, TOSTRING_USE_CURRENT, TO… 129 Exception: Unsetting flag CALL_TO_STRING is not possible [all …]
|
/PHP-7.1/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-7.1/ext/sqlite3/tests/ |
H A D | bug72668.phpt | 9 throw new \Exception("test exception\n"); 19 catch(\Exception $e) { 20 echo "Exception: ".$e->getMessage(); 26 catch(\Exception $e) { 27 echo "Exception: ".$e->getMessage(); 34 catch(\Exception $e) { 35 echo "Exception: ".$e->getMessage(); 39 Exception: test exception 40 Exception: test exception 41 Exception: test exception
|
/PHP-7.1/Zend/tests/try/ |
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-7.1/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) { 58 Exception caught OK; continuing. 64 Exception caught OK; continuing. 70 Exception caught OK; continuing. [all …]
|
H A D | __call_007.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) { 59 Exception caught OK; continuing. 65 Exception caught OK; continuing. 71 Exception caught OK; continuing. [all …]
|
/PHP-7.1/ext/standard/tests/serialize/ |
H A D | bug69793.phpt | 5 …Exception":7:{s:17:"'."\0".'Exception'."\0".'string";s:1:"a";s:7:"'."\0".'*'."\0".'code";i:0;s:7:"… 10 Notice: Undefined property: Exception::$file in %s%ebug69793.php on line %d 12 Notice: Undefined property: Exception::$previous in %s%ebug69793.php on line %d 14 Notice: Undefined property: Exception::$previous in %s%ebug69793.php on line %d 15 string(41) "Exception in :1337
|
H A D | bug70963.phpt | 5 var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";… 6 var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";… 11 object(Exception)#%d (6) { 14 ["string":"Exception":private]=> 22 ["previous":"Exception":private]=> 30 object(Exception)#%d (6) { 33 ["string":"Exception":private]=> 41 ["previous":"Exception":private]=>
|
/PHP-7.1/Zend/tests/generators/ |
H A D | basic_yield_from_exception_handling.phpt | 8 } catch (Exception $e) { print "catch in from()\n$e\n"; } 15 } catch (Exception $e) { print "catch in gen()\n$e\n"; } 18 } catch (Exception $e) { print "catch in gen()\n$e\n"; } 24 for ($gen = gen(); $gen->valid(); $gen->throw(new Exception((string) $i++))) { 27 } catch (Exception $e) { print "catch in {main}\n$e\n"; } 35 Exception: 0 in %s:%d 40 Exception: 1 in %s:%d 45 Exception: 2 in %s:%d 50 Exception: 3 in %s:%d 55 Exception: 4 in %s:%d
|