Searched refs:throw (Results 26 – 50 of 372) sorted by relevance
12345678910>>...15
2 Bug #33802 (throw Exception in error handler causes crash)17 throw new Exception();
8 throw new Exception('foo');12 throw new Exception($a);16 throw new Exception($a);
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__);
12 throw new Exception();19 throw new Exception();
8 throw new Exception("2");17 throw new Exception("1");
2 Testing throw exception doesn't crash with wrong params, variant 26 throw new Exception(new stdClass);
2 Testing throw exception doesn't crash with wrong params, variant 46 throw new Error(new stdClass);
10 throw new Exception();16 throw new test();
12 throw new Exception();18 throw new Exception();
11 throw new Foo();18 Fatal error: Uncaught Error: Cannot throw objects that do not implement Throwable in %s:%d
49 * @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 of202 throw new OutOfRangeException("Offset invalid or out of range");211 * @throw OutOfRangeException If the offset is either invalid or out of223 throw new OutOfRangeException("Offset invalid or out of range");233 * @throw OutOfRangeException If the offset is either invalid or out of249 throw new OutOfRangeException("Offset invalid or out of range");[all …]
10 >00004: throw new Exception("test");19 throw new Exception("test");
18 >00004: throw new Exception;22 >00004: throw new Exception;56 throw new Exception;
16 $it->setPrefixPart(1); // Should throw a warning as setPrefixPart expects 2 arguments19 $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…
2 Generator::throw() on an already closed generator14 $gen->throw(new Exception('test'));
2 Generator::throw() where the exception is not caught in the generator12 var_dump($gen->throw(new RuntimeException('test')));
2 Generators can throw exceptions8 throw new Exception('test');
2 Generator::throw() where the exception is caught in the generator18 var_dump($gen->throw(new RuntimeException('Test')));
30 throw new Exception('aaa');68 throw new Exception('aaa');94 throw new Exception('aaa');
7 throw new Exception();22 Fatal error: Method ReflectionClass::__toString() must not throw an exception, caught Exception: i…
7 throw new Exception("Failed");13 throw new Exception("Failed");
2 try { throw } finally { yield }8 throw new Exception;
2 try { yield } finally { throw }10 throw new Exception;
2 Try catch finally (re-throw exception in catch block)16 throw $e;
10 throw new Exception("Damn!");33 Fatal error: Method Test::__toString() must not throw an exception, caught Exception: Damn! in %sto…
Completed in 45 milliseconds