Searched refs:Exception (Results 1 – 25 of 582) sorted by relevance
12345678910>>...24
/PHP-5.5/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 | spl_autoload_001.phpt | 16 catch(Exception $e) 18 echo 'Exception: ' . $e->getMessage() . "\n"; 30 catch(Exception $e) 32 echo 'Exception: ' . $e->getMessage() . "\n"; 41 catch(Exception $e) 43 echo 'Exception: ' . $e->getMessage() . "\n"; 65 catch(Exception $e) 67 echo 'Exception: ' . $e->getMessage() . "\n"; 82 catch(Exception $e) 84 echo 'Exception: ' . $e->getMessage() . "\n"; [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 …]
|
H A D | spl_autoload_005.phpt | 18 throw new Exception("Unavailable"); 26 catch(Exception $e) 28 echo 'Exception: ' . $e->getMessage() . "\n"; 42 catch(Exception $e) 44 echo 'Exception: ' . $e->getMessage() . "\n"; 51 Exception: Passed array specifies a non static method but no object (non-static method MyAutoLoader… 54 Exception: Unavailable
|
H A D | heap_corruption.phpt | 32 throw new Exception('Compare exception'); 48 catch (Exception $e) { 49 echo "Compare Exception: " . $e->getMessage() . PHP_EOL; 55 catch (Exception $e) { 56 echo "Corruption Exception: " . $e->getMessage() . PHP_EOL; 61 Compare Exception: Compare exception 62 Corruption Exception: Heap is corrupted, heap properties are no longer ensured.
|
H A D | spl_autoload_008.phpt | 11 throw new Exception('Bla'); 19 throw new Exception('Bla'); 25 throw new Exception('Bla'); 56 catch (Exception $e) 73 Exception: Bla 79 Exception: Bla 94 Exception: Bla 115 Exception: Bla 127 Exception: Bla
|
H A D | dllist_006.phpt | 27 echo "Exception: ".$e->getMessage()."\n"; 33 echo "Exception: ".$e->getMessage()."\n"; 39 echo "Exception: ".$e->getMessage()."\n"; 45 echo "Exception: ".$e->getMessage()."\n"; 59 Exception: Offset invalid or out of range 61 Exception: Offset invalid or out of range
|
/PHP-5.5/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-5.5/Zend/tests/ |
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 'Exception' with message 'Another' in %sexception_007.php:%d 25 Next exception 'Exception' with message 'First' in %sexception_007.php:%d 29 Next exception 'Exception' with message 'Second' in %sexception_007.php:%d 33 Next exception 'Exception' with message 'Third' in %sexception_007.php:%d
|
H A D | bug65784.phpt | 9 throw new Exception("not catch"); 13 throw new Exception("catched"); 14 } catch (Exception $e) { 21 } catch (Exception $e) { 30 throw new Exception("catched"); 34 throw new Exception("catched"); 35 } catch (Exception $e) { 38 } catch (Exception $e) { 47 throw new Exception("not catched"); 52 } catch (Exception $e) {
|
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 | 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_before_fatal.phpt | 6 throw new Exception($msg); 13 } catch(Exception $e) { 19 } catch(Exception $e) { 25 } catch(Exception $e) { 31 } catch(Exception $e) { 37 } catch(Exception $e) { 44 } catch(Exception $e) { 53 } catch(Exception $e) {
|
H A D | exception_001.phpt | 10 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 'Exception' in %s:%d
|
H A D | bug52361.phpt | 8 throw new Exception(__CLASS__); 9 } catch(Exception $ex) { 16 throw new Exception(__FUNCTION__); 21 } catch(Exception $ex) { 26 1. exception 'Exception' with message 'aaa' in %sbug52361.php:5 31 2. exception 'Exception' with message 'bbb' in %sbug52361.php:13
|
H A D | bug47771.phpt | 2 Bug #47771 (Exception during object construction from arg call calls object's destructor) 6 throw new Exception('TEST_EXCEPTION'); 25 } catch( Exception $e) { 26 echo 'Exception: ' . $e->getMessage() . "\n"; 30 Exception: TEST_EXCEPTION
|
H A D | indirect_call_array_004.phpt | 8 throw new Exception('foo'); 12 throw new Exception($a); 16 throw new Exception($a); 26 catch (Exception $e) { 35 catch (Exception $e) { 48 catch (Exception $e) { 59 catch (Exception $e) {
|
H A D | bug64135.phpt | 7 throw new Exception(); 13 } catch(Exception $e) { 14 echo "Exception is thrown"; 17 Exception is thrown
|
/PHP-5.5/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) { 58 Exception caught OK; continuing. 63 Exception caught OK; continuing. 68 Exception caught OK; continuing. [all …]
|
H A D | array_access_013.phpt | 8 … 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-5.5/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::$message in %s/bug69793.php on line %d 12 Notice: Undefined property: Exception::$file in %s/bug69793.php on line %d 14 Notice: Undefined property: Exception::$previous in %s/bug69793.php on line %d 15 string(53) "exception 'Exception' in :1337
|
/PHP-5.5/tests/lang/ |
H A D | bug26866.phpt | 12 throw new Exception('Exception!'); 20 catch (Exception $E) { 21 echo "Exception raised!\n"; 25 Exception raised!
|
Completed in 34 milliseconds
12345678910>>...24