Searched refs:Exception (Results 1 – 25 of 495) sorted by relevance
12345678910>>...20
/PHP-5.3/ext/spl/tests/ |
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 | 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 | 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
|
H A D | fixedarray_015.phpt | 10 } catch (Exception $e) { 15 } catch (Exception $e) { 20 } catch (Exception $e) { 25 } catch (Exception $e) { 31 } catch (Exception $e) { 36 } catch (Exception $e) {
|
/PHP-5.3/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 | 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 | 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_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 | ns_038.phpt | 5 namespace Exception; 9 \Exception\foo(); 10 \Exception::bar(); 14 Fatal error: Call to undefined method Exception::bar() in %sns_038.php on line 7
|
H A D | 030.phpt | 13 throw new Exception('foo'); 14 } catch (Exception $this) { 34 object(Exception)#%d (7) { 37 ["string":"Exception":private]=> 45 ["trace":"Exception":private]=> 64 ["previous":"Exception":private]=>
|
H A D | exception_008.phpt | 2 Exception in __destruct while exception is pending 9 throw new Exception("First"); 16 throw new Exception("Second"); 27 Fatal error: Uncaught exception 'Exception' with message 'First' in %sexception_008.php:%d 32 Next exception 'Exception' with message 'Second' in %sexception_008.php:%d
|
H A D | bug49893.phpt | 8 throw new Exception("2"); 9 } catch (Exception $e) { 17 throw new Exception("1"); 22 } catch(Exception $e) {
|
/PHP-5.3/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.3/tests/lang/ |
H A D | bug26866.phpt | 12 throw new Exception('Exception!'); 20 catch (Exception $E) { 21 echo "Exception raised!\n"; 25 Exception raised!
|
/PHP-5.3/ext/reflection/tests/ |
H A D | ReflectionClass_constructor_002.phpt | 7 } catch (Exception $e) { 13 } catch (Exception $e) { 19 } catch (Exception $e) { 25 } catch (Exception $e) { 31 } catch (Exception $e) { 37 } catch (Exception $e) { 43 } catch (Exception $e) {
|
H A D | ReflectionClass_getMethod_002.phpt | 16 } catch (Exception $e) { 21 } catch (Exception $e) { 26 } catch (Exception $e) { 31 } catch (Exception $e) { 36 } catch (Exception $e) { 41 } catch (Exception $e) { 46 } catch (Exception $e) { 51 } catch (Exception $e) {
|
Completed in 50 milliseconds
12345678910>>...20