Home
last modified time | relevance | path

Searched refs:Exception (Results 26 – 50 of 522) sorted by relevance

12345678910>>...21

/PHP-5.4/Zend/tests/
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) {
H A Dbug53511.phpt7 throw new Exception("ops 1");
14 throw new Exception("ops 2");
15 } catch (Exception $e) {
23 Fatal error: Uncaught exception 'Exception' with message 'ops 2' in %sbug53511.php:11
28 Next exception 'Exception' with message 'ops 1' in %sbug53511.php:4
H A Dbug70121.phpt5Exception":7:{s:10:"'."\0".'*'."\0".'message";s:1:"x";s:17:"'."\0".'Exception'."\0".'string";s:1:"…
H A Dbug33771.phpt12 throw new Exception();
18 throw new Exception();
24 } catch (Exception $e) {}
30 } catch (Exception $e) {}
H A Dbug31102.phpt2 Bug #31102 (Exception not handled when thrown inside __autoload())
16 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
19 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
20 throw new Exception(__METHOD__);
33 catch (Exception $e)
H A Dbug48409.phpt6 class ABCException extends Exception {}
52 throw new Exception;
61 catch(Exception $e) {
62 die('Exception thrown');
67 Exception thrown
H A Dns_003.phpt7 class Exception {
10 echo get_class(new Exception()),"\n";
12 test\ns1\Exception
H A Dns_007.phpt7 class Exception {
10 $x = "Exception";
13 Exception
H A Dns_005.phpt7 class Exception {
10 echo get_class(new \Exception()),"\n";
12 Exception
H A Dns_006.phpt7 class Exception {
10 $x = "test\\ns1\\Exception";
13 test\ns1\Exception
H A Dclosure_021.phpt8 throw new Exception('test!');
9 } catch(Exception $e) {
16 } catch (Exception $e) {
/PHP-5.4/ext/xsl/tests/
H A Dbug49634.phpt33 throw new Exception('Test exception.');
48 } catch (Exception $e) {
55 exception 'Exception' with message 'Test exception.' in %s:%d
60 exception 'Exception' with message 'Test exception.' in %s:%d
65 exception 'Exception' with message 'Test exception.' in %s:%d
70 exception 'Exception' with message 'Test exception.' in %s:%d
75 exception 'Exception' with message 'Test exception.' in %s:%d
80 exception 'Exception' with message 'Test exception.' in %s:%d
85 exception 'Exception' with message 'Test exception.' in %s:%d
90 exception 'Exception' with message 'Test exception.' in %s:%d
[all …]
/PHP-5.4/ext/spl/tests/
H A Dfixedarray_001.phpt10 echo "Exception: ".$e->getMessage()."\n";
15 echo "Exception: ".$e->getMessage()."\n";
20 echo "Exception: ".$e->getMessage()."\n";
49 Exception: Index invalid or out of range
50 Exception: Index invalid or out of range
51 Exception: Index invalid or out of range
H A Dspl_autoload_012.phpt9 throw new Exception('first');
15 throw new Exception('second');
23 } catch(Exception $e) {
31 } catch(Exception $e) {
52 Fatal error: Uncaught exception 'Exception' with message 'first' in %sspl_autoload_012.php:%d
59 Next exception 'Exception' with message 'second' in %sspl_autoload_012.php:%d
H A Dspl_autoload_003.phpt16 throw new Exception("Class $classname missing");
32 catch(Exception $e)
34 echo 'Exception: ' . $e->getMessage() . "\n";
44 Exception: Class TestClass missing
H A Dfixedarray_020.phpt16 } catch (Exception $e) {
17 echo "Exception: ".$e->getMessage()."\n";
23 } catch (Exception $e) {
24 echo "Exception: ".$e->getMessage()."\n";
36 Exception: array must contain only positive integer keys
/PHP-5.4/ext/reflection/tests/
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) {
H A DReflectionClass_setStaticPropertyValue_002.phpt15 } catch (Exception $e) {
20 } catch (Exception $e) {
25 } catch (Exception $e) {
30 } catch (Exception $e) {
35 } catch (Exception $e) {
40 } catch (Exception $e) {
/PHP-5.4/ext/phar/tests/zip/
H A Dcorrupt_008.phpt10 } catch (Exception $e) {
15 } catch (Exception $e) {
20 } catch (Exception $e) {
25 } catch (Exception $e) {
30 } catch (Exception $e) {
35 } catch (Exception $e) {
40 } catch (Exception $e) {
45 } catch (Exception $e) {
50 } catch (Exception $e) {
55 } catch (Exception $e) {
[all …]
/PHP-5.4/tests/classes/
H A Diterators_007.phpt10 …public function rewind() { if ($this->x == 0) throw new Exception(__METHOD__); reset($this->arr…
11 …public function current() { if ($this->x == 1) throw new Exception(__METHOD__); return current($…
12 …public function key() { if ($this->x == 2) throw new Exception(__METHOD__); return key($this…
13 …public function next() { if ($this->x == 3) throw new Exception(__METHOD__); next($this->arr)…
14 …public function valid() { if ($this->x == 4) throw new Exception(__METHOD__); return (key($thi…
28 catch(Exception $e)
H A Ddestructor_and_exceptions.phpt23 catch(Exception $e)
28 class FatalException extends Exception
43 catch(Exception $e)
45 echo "Caught Exception: " . $e->getMessage() . "\n";
59 Caught Exception: FailClass
H A Dautoload_008.phpt13 throw new Exception();
21 catch (Exception $e) {
22 echo "In Exception catch block. Autoload should not have been triggered.\n";
26 In Exception catch block. Autoload should not have been triggered.
/PHP-5.4/ext/dom/tests/
H A Ddom_create_element.phpt13 } catch (Exception $e) {
22 } catch (Exception $e) {
31 } catch (Exception $e) {
40 } catch (Exception $e) {
49 } catch (Exception $e) {
58 } catch (Exception $e) {
67 } catch (Exception $e) {
76 } catch (Exception $e) {
85 } catch (Exception $e) {
94 } catch (Exception $e) {
[all …]
/PHP-5.4/ext/phar/tests/
H A Dphar_convert_again.phpt35 } catch (Exception $e) {
52 } catch (Exception $e) {
57 } catch (Exception $e) {
62 } catch (Exception $e) {
73 } catch (Exception $e) {
78 } catch (Exception $e) {
83 } catch (Exception $e) {
88 } catch (Exception $e) {
93 } catch (Exception $e) {
98 } catch (Exception $e) {
[all …]

Completed in 21 milliseconds

12345678910>>...21