Home
last modified time | relevance | path

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

12345678910>>...20

/PHP-5.3/ext/spl/tests/
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 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 Dspl_autoload_001.phpt16 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 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 …]
H A Dspl_autoload_005.phpt18 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 Dheap_corruption.phpt32 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 Dspl_autoload_008.phpt11 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 Ddllist_006.phpt27 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 Dfixedarray_015.phpt10 } 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 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 '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 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 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_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 'Exception' in %s:%d
H A Dbug52361.phpt8 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 Dbug47771.phpt2 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 Dns_038.phpt5 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 D030.phpt13 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 Dexception_008.phpt2 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 Dbug49893.phpt8 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.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-5.3/tests/lang/
H A Dbug26866.phpt12 throw new Exception('Exception!');
20 catch (Exception $E) {
21 echo "Exception raised!\n";
25 Exception raised!
/PHP-5.3/ext/reflection/tests/
H A DReflectionClass_constructor_002.phpt7 } 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 DReflectionClass_getMethod_002.phpt16 } 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