Home
last modified time | relevance | path

Searched refs:throw (Results 26 – 50 of 372) sorted by relevance

12345678910>>...15

/PHP-7.0/Zend/tests/
H A Dbug33802.phpt2 Bug #33802 (throw Exception in error handler causes crash)
17 throw new Exception();
H A Dindirect_call_array_004.phpt8 throw new Exception('foo');
12 throw new Exception($a);
16 throw new Exception($a);
H A Dbug31102.phpt16 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__);
H A Dbug32226.phpt12 throw new Exception();
19 throw new Exception();
H A Dbug49893.phpt8 throw new Exception("2");
17 throw new Exception("1");
H A Dexception_019.phpt2 Testing throw exception doesn't crash with wrong params, variant 2
6 throw new Exception(new stdClass);
H A Dexception_022.phpt2 Testing throw exception doesn't crash with wrong params, variant 4
6 throw new Error(new stdClass);
H A Dexception_handler_002.phpt10 throw new Exception();
16 throw new test();
H A Dbug33771.phpt12 throw new Exception();
18 throw new Exception();
H A Dexception_004.phpt11 throw new Foo();
18 Fatal error: Uncaught Error: Cannot throw objects that do not implement Throwable in %s:%d
/PHP-7.0/ext/spl/internal/
H A Dspldoublylinkedlist.inc49 * @throw RuntimeException If the datastructure is empty.
54 throw new RuntimeException("Can't pop from an empty datastructure");
60 * @throw RuntimeException If the datastructure is empty.
65 throw new RuntimeException("Can't shift from an empty datastructure");
196 * @throw OutOfRangeException If the offset is either invalid or out of
202 throw new OutOfRangeException("Offset invalid or out of range");
211 * @throw OutOfRangeException If the offset is either invalid or out of
223 throw new OutOfRangeException("Offset invalid or out of range");
233 * @throw OutOfRangeException If the offset is either invalid or out of
249 throw new OutOfRangeException("Offset invalid or out of range");
[all …]
/PHP-7.0/sapi/phpdbg/tests/
H A Dset_exception_handler.phpt10 >00004: throw new Exception("test");
19 throw new Exception("test");
H A Dstepping_001.phpt18 >00004: throw new Exception;
22 >00004: throw new Exception;
56 throw new Exception;
/PHP-7.0/ext/spl/tests/
H A Drecursive_tree_iterator_setprefixpart.phpt16 $it->setPrefixPart(1); // Should throw a warning as setPrefixPart expects 2 arguments
19 $it->setPrefixPart($a, 1); // Should throw a warning as setPrefixPart expects argument 1 to be long…
21 $it->setPrefixPart(1, $a); // Should throw a warning as setPrefixPart expects argument 2 to be a st…
/PHP-7.0/Zend/tests/generators/
H A Dthrow_already_closed.phpt2 Generator::throw() on an already closed generator
14 $gen->throw(new Exception('test'));
H A Dthrow_uncaught.phpt2 Generator::throw() where the exception is not caught in the generator
12 var_dump($gen->throw(new RuntimeException('test')));
H A Dgenerator_throwing_exception.phpt2 Generators can throw exceptions
8 throw new Exception('test');
H A Dthrow_caught.phpt2 Generator::throw() where the exception is caught in the generator
18 var_dump($gen->throw(new RuntimeException('Test')));
/PHP-7.0/ext/opcache/tests/
H A Dbug65665.phpt30 throw new Exception('aaa');
68 throw new Exception('aaa');
94 throw new Exception('aaa');
/PHP-7.0/ext/reflection/tests/
H A Dbug74673.phpt7 throw new Exception();
22 Fatal error: Method ReflectionClass::__toString() must not throw an exception, caught Exception: i…
/PHP-7.0/ext/standard/tests/serialize/
H A Dbug64354_2.phpt7 throw new Exception("Failed");
13 throw new Exception("Failed");
/PHP-7.0/Zend/tests/generators/finally/
H A Dthrow_yield.phpt2 try { throw } finally { yield }
8 throw new Exception;
H A Dyield_throw.phpt2 try { yield } finally { throw }
10 throw new Exception;
/PHP-7.0/Zend/tests/try/
H A Dtry_catch_finally_004.phpt2 Try catch finally (re-throw exception in catch block)
16 throw $e;
/PHP-7.0/tests/classes/
H A Dtostring_003.phpt10 throw new Exception("Damn!");
33 Fatal error: Method Test::__toString() must not throw an exception, caught Exception: Damn! in %sto…

Completed in 145 milliseconds

12345678910>>...15