Home
last modified time | relevance | path

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

12345678910>>...38

/PHP-8.1/Zend/tests/
H A Dexception_from_toString.phpt8 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 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 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("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 …]
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 Dexception_in_rope_end.phpt2 Exception during rope finalization
6 set_error_handler(function() { throw new Exception; });
11 } catch (Exception $e) {
12 echo "Exception\n";
17 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-8.1/ext/dom/tests/
H A DtoString_exceptions.phpt10 throw new Exception("Exception");
47 Exception
48 Exception
49 Exception
50 Exception
51 Exception
52 Exception
53 Exception
54 Exception
55 Exception
[all …]
/PHP-8.1/Zend/tests/throw/
H A D001.phpt9 } 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 D002.phpt26 } 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-8.1/tests/lang/operators/
H A DbitwiseShiftLeft_basiclong_64bit.phpt54 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 DbitwiseShiftRight_basiclong_64bit.phpt54 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-8.1/Zend/tests/try/
H A Dcatch_novar_1.phpt7 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 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-8.1/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 …]
/PHP-8.1/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-8.1/ext/com_dotnet/tests/
H A Dbug77177.phpt13 } catch (Exception $ex) {
14 echo "Exception: {$ex->getMessage()}\n";
22 } catch (Exception $ex) {
23 echo "Exception: {$ex->getMessage()}\n";
31 } catch (Exception $ex) {
32 echo "Exception: {$ex->getMessage()}\n";
37 Exception: Serialization of 'com' is not allowed
38 Exception: Serialization of 'dotnet' is not allowed
39 Exception: Serialization of 'variant' is not allowed
40 Exception: Unserialization of 'com' is not allowed
[all …]
/PHP-8.1/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-8.1/ext/sqlite3/tests/
H A Dbug72668.phpt8 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-8.1/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) {
57 Exception caught OK; continuing.
63 Exception caught OK; continuing.
69 Exception caught OK; continuing.
[all …]
/PHP-8.1/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 50 milliseconds

12345678910>>...38