Home
last modified time | relevance | path

Searched refs:Exception (Results 1 – 25 of 777) sorted by relevance

12345678910>>...32

/PHP-7.2/Zend/tests/
H A Dtemporary_cleaning_013.phpt11 } 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"; }
83 } catch (Exception $e) { print "caught Exception 9\n"; }
91 } catch (Exception $e) { print "caught Exception 10\n"; }
[all …]
H A Dbug76502.phpt7 "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 Dcompound_assign_failure.phpt37 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 Dexception_007.phpt8 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 Dbug70944.phpt6 $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 Dbug65784.phpt7 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 Dexception_010.phpt2 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 Dtemporary_cleaning_007.phpt2 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 Dbug61011.phpt6 throw new Exception($name);
11 } catch (Exception $e) {
14 } catch (Exception $e) {
17 } catch (Exception $e) {
20 } catch (Exception $e){
23 } catch (Exception $e) {
27 } catch (Exception $e) {
/PHP-7.2/tests/lang/operators/
H A DbitwiseShiftLeft_basiclong_64bit.phpt55 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 DbitwiseShiftRight_basiclong_64bit.phpt55 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 Dmodulus_variationStr.phpt29 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.2/ext/spl/tests/
H A Dheap_004.phpt20 } 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 Dpqueue_002.phpt20 } 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 Diterator_037.phpt14 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.2/ext/reflection/tests/
H A Dbug77882.phpt8 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-7.2/ext/opcache/tests/
H A Dbug65665.phpt20 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.2/ext/sqlite3/tests/
H A Dbug72668.phpt9 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.2/Zend/tests/try/
H A Dtry_finally_024.phpt2 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 Dtry_finally_026.phpt8 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.2/tests/classes/
H A D__call_006.phpt8 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.phpt8 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.2/ext/standard/tests/serialize/
H A Dbug69793.phpt5Exception":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 Dbug70963.phpt5 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.2/Zend/tests/generators/
H A Dbasic_yield_from_exception_handling.phpt8 } 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

Completed in 42 milliseconds

12345678910>>...32