Home
last modified time | relevance | path

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

12345678910>>...29

/PHP-7.0/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.0/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.0/Zend/tests/
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 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 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) {
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);
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 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 Dbug35017.phpt2 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 Dexception_in_nested_rope.phpt2 Exception during nested rope
6 set_error_handler(function() { throw new Exception; });
11 } catch (Exception $e) {
12 echo "Exception\n";
17 Exception
H A Dexception_001.phpt10 throw new Exception(NULL);
11 } catch (Exception $e) {
15 } catch (Exception $e) {
19 } catch (Exception $e) {
23 } catch (Exception $e) {
35 Fatal error: Uncaught Exception in %s:%d
/PHP-7.0/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.0/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.0/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) {
58 Exception caught OK; continuing.
63 Exception caught OK; continuing.
68 Exception caught OK; continuing.
[all …]
H A Darray_access_013.phpt8 … public function offsetExists($offset) { throw new Exception(__METHOD__); return false; }
9 … public function offsetGet($offset) { throw new Exception(__METHOD__); return $offset; }
10 public function offsetSet($offset, $data ) { throw new Exception(__METHOD__); }
11 public function offsetUnset($offset) { throw new Exception(__METHOD__); }
20 catch(Exception $e)
29 catch(Exception $e)
38 catch(Exception $e)
47 catch(Exception $e)
/PHP-7.0/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.0/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 48 milliseconds

12345678910>>...29