Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-5.5/Zend/tests/
H A Dbug49893.phpt8 throw new Exception("2");
17 throw new Exception("1");
H A Dtry_catch_finally_004.phpt2 Try catch finally (re-throw exception in catch block)
16 throw $e;
H A Dbug33771.phpt12 throw new Exception();
18 throw new Exception();
H A Dexception_handler_002.phpt10 throw new Exception();
16 throw new test();
H A Dcatch_finally_003.phpt14 throw $e;
25 throw new Exception("ex");
H A Dbug32993.phpt2 Bug #32993 (implemented Iterator function current() don't throw exception)
10 public function current() { throw new Exception(); }
H A Dbug66608.phpt17 throw new Exception ("");
45 throw new Exception("");
H A Dbug52361.phpt8 throw new Exception(__CLASS__);
16 throw new Exception(__FUNCTION__);
H A Dexception_008.phpt9 throw new Exception("First");
16 throw new Exception("Second");
H A Dbug38624.phpt14 throw new Exception( "doesn't work" );
19 throw new Exception( "doesn't work" );
H A Dbug53511.phpt7 throw new Exception("ops 1");
14 throw new Exception("ops 2");
H A Dbug48409.phpt13 throw new ABCException;
52 throw new Exception;
H A Dexception_before_fatal.phpt6 throw new Exception($msg);
24 throw $foo;
/PHP-5.5/Zend/tests/generators/
H A Dgenerator_throwing_exception.phpt2 Generators can throw exceptions
8 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 Dthrow_already_closed.phpt2 Generator::throw() on an already closed generator
14 $gen->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-5.5/ext/standard/tests/serialize/
H A Dbug64354_2.phpt7 throw new Exception("Failed");
13 throw new Exception("Failed");
/PHP-5.5/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-5.5/tests/classes/
H A Dtostring_003.phpt10 throw new Exception("Damn!");
33 Fatal error: Method Test::__toString() must not throw an exception in %stostring_003.php on line %d
H A Ddestructor_and_exceptions.phpt13 throw new exception("FailClass");
41 throw new FatalException("Damn");
/PHP-5.5/ext/standard/tests/streams/
H A Dbug67626.phpt11 throw new Exception('stream_read_exception');
22 throw new Exception('stream_write_exception');
/PHP-5.5/ext/spl/internal/
H A Dlimititerator.inc40 throw new exception('Parameter offset must be > 0');
43 throw new exception('Parameter count must either be -1 or a value greater than or equal to 0');
54 * @throw exception when position is invalid
58 throw new exception('Cannot seek to '.$position.' which is below offset '.$this->offset);
61throw new exception('Cannot seek to '.$position.' which is behind offset '.$this->offset.' plus co…
/PHP-5.5/ext/spl/tests/
H A Dspl_autoload_008.phpt11 throw new Exception('Bla');
19 throw new Exception('Bla');
25 throw new Exception('Bla');

Completed in 25 milliseconds

12345678910>>...12