Home
last modified time | relevance | path

Searched refs:Exception (Results 176 – 200 of 898) sorted by relevance

12345678910>>...36

/PHP-8.0/tests/lang/
H A D039.phpt10 class MyException extends Exception implements Catchable
36 catch (Exception $e)
38 echo "Exception\n";
/PHP-8.0/Zend/tests/try/
H A Dtry_finally_022.phpt9 throw new Exception();
29 } catch (Exception $e) {
35 } catch (Exception $e) {
H A Dcatch_finally_003.phpt13 } catch (Exception $e) {
25 throw new Exception("ex");
26 } catch (Exception $e) {
/PHP-8.0/Zend/tests/
H A Dbug60909_2.phpt2 Bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function).
9 throw new Exception('I CAN DO THIS');
17 Fatal error: Uncaught Exception: I CAN DO THIS in %s:%d
H A Dbug32252.phpt2 Bug #32252 (Segfault when offsetSet throws an Exception (only without debug))
23 throw new Exception("Ooops");
37 catch (Exception $e)
H A Dbug70689.phpt2 Bug #70689 (Exception handler does not work as expected)
11 throw new Exception($errstr);
16 } catch (Exception $e) {
H A D003.phpt24 echo "Exception: " . $e->getMessage() . "\n";
32 echo "Exception: " . $e->getMessage() . "\n";
62 Exception: Too few arguments to function test2(), 0 passed in %s003.php on line %d and exactly 1 ex…
71 Exception: Too few arguments to function test3(), 1 passed in %s003.php on line %d and exactly 2 ex…
H A Dtemporary_cleaning_004.phpt7 throw new Exception();
22 } catch (Exception $e) {
38 } catch (Exception $e) {
H A Dbug60909_1.phpt2 Bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function).
8 throw new Exception("Foo");
15 Fatal error: Uncaught Exception: Foo in %sbug60909_1.php:5
H A Dbug70012.phpt2 Bug #70012 (Exception lost with nested finally block)
9 throw new Exception();
19 } catch (Exception $e) {
H A Dbug73288.phpt2 Bug #73288 (Segfault in __clone > Exception.toString > __get)
11 throw new Exception("No Cloneable");
29 Fatal error: Uncaught Exception: No Cloneable in %sbug73288.php:%d
/PHP-8.0/ext/opcache/tests/jit/
H A Dassign_dim_op_005.phpt11 throw new Exception($m);
21 } catch (Exception $e) {
26 } catch (Exception $e) {
/PHP-8.0/ext/phar/tests/
H A Dpharfileinfo_compression.phpt22 } catch (Exception $e) {
27 } catch (Exception $e) {
35 } catch (Exception $e) {
40 } catch (Exception $e) {
46 } catch (Exception $e) {
60 } catch (Exception $e) {
66 } catch (Exception $e) {
/PHP-8.0/ext/spl/tests/
H A Dfixedarray_002.phpt37 echo "Exception: ".$e->getMessage()."\n";
42 echo "Exception: ".$e->getMessage()."\n";
47 echo "Exception: ".$e->getMessage()."\n";
72 Exception: Index invalid or out of range
74 Exception: Index invalid or out of range
76 Exception: Index invalid or out of range
H A Dspl_iterator_to_array_error.phpt8 throw new Exception('Make the iterator break');
17 } catch (Exception $e) {
24 } catch (Exception $e) {
H A Ddllist_001.phpt10 echo "Exception: ".$e->getMessage()."\n";
15 echo "Exception: ".$e->getMessage()."\n";
50 Exception: Can't pop from an empty datastructure
51 Exception: Can't shift from an empty datastructure
H A Dbug42703.phpt2 Bug #42703 (Exception raised in an iterator::current() causes segfault in FilterIterator)
17 throw new Exception('boo');
31 catch (Exception $e) {
/PHP-8.0/ext/ffi/tests/
H A D020.phpt64 FFI\Exception: Attempt to assign read-only field 'y'
65 FFI\Exception: Attempt to assign read-only field 'x'
66 FFI\Exception: Attempt to assign read-only location
67 FFI\Exception: Attempt to assign read-only location
69 FFI\Exception: Attempt to assign read-only location
70 FFI\Exception: Attempt to assign read-only location
/PHP-8.0/ext/reflection/tests/
H A DReflectionClass_newInstance_001.phpt38 echo "Exception: " . $e->getMessage() . "\n";
43 echo "Exception: " . $e->getMessage() . "\n";
49 } catch (Exception $e) {
56 } catch (Exception $e) {
66 } catch (Exception $e) {
71 Exception: Too few arguments to function B::__construct(), 0 passed and exactly 2 expected
/PHP-8.0/ext/standard/tests/serialize/
H A Dbug70963.phpt5 var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";…
6 var_dump(unserialize('a:2:{i:0;O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"test";…
9 Fatal error: Uncaught TypeError: Cannot assign string to property Exception::$trace of type array i…
/PHP-8.0/ext/standard/tests/general_functions/
H A Dbug47857.phpt16 var_dump(is_callable(array('Exception','getMessage')));
18 Exception::getMessage();
27 Non-static method Exception::getMessage() cannot be called statically
/PHP-8.0/ext/json/tests/
H A Djson_decode_exceptions.phpt17 ["string":"Exception":private]=>
25 ["trace":"Exception":private]=>
48 ["previous":"Exception":private]=>
/PHP-8.0/Zend/tests/generators/
H A Dgenerator_rewind.phpt20 } catch (Exception $e) {
34 } catch (Exception $e) {
52 Exception: Cannot rewind a generator that was already run in %s:%d
57 Exception: Cannot traverse an already closed generator in %s:%d
H A Dmutli_yield_from_with_exception.phpt2 Multiple yield from on a same Generator throwing an Exception
7 throw new Exception();
13 } catch (Exception $e) { print "Caught exception!\n$e\n"; }
36 Exception in %s:%d
/PHP-8.0/ext/date/tests/
H A Ddate_interval_bad_format_leak.phpt8 } catch (Exception $e) {
14 } catch (Exception $e) {
20 } catch (Exception $e) {

Completed in 31 milliseconds

12345678910>>...36