Home
last modified time | relevance | path

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

12345678910>>...21

/PHP-5.4/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.4/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 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 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 Dindirect_call_array_004.phpt8 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 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]=>
/PHP-5.4/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.4/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::$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.4/tests/lang/
H A Dbug26866.phpt12 throw new Exception('Exception!');
20 catch (Exception $E) {
21 echo "Exception raised!\n";
25 Exception raised!
/PHP-5.4/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) {

Completed in 111 milliseconds

12345678910>>...21