Home
last modified time | relevance | path

Searched refs:throw (Results 51 – 75 of 372) sorted by relevance

12345678910>>...15

/PHP-7.0/Zend/tests/
H A Dexception_018.phpt2 Testing throw exception doesn't crash with wrong params, variant 1
7 throw new Hello(new stdClass);
H A Dexception_021.phpt2 Testing throw exception doesn't crash with wrong params, variant 3
7 throw new Hello(new stdClass);
H A Dexception_008.phpt9 throw new Exception("First");
16 throw new Exception("Second");
H A Dbug66608.phpt17 throw new Exception ("");
45 throw new Exception("");
H A Dbug32993.phpt2 Bug #32993 (implemented Iterator function current() don't throw exception)
10 public function current() { throw new Exception(); }
H A Dbug52361.phpt8 throw new Exception(__CLASS__);
16 throw new Exception(__FUNCTION__);
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 Dexception_before_fatal.phpt6 throw new Exception($msg);
24 throw $foo;
H A Dbug48409.phpt13 throw new ABCException;
52 throw new Exception;
H A Dmethods-on-non-objects-nested.inc3 throw new LogicException('Should not be called');
H A Dbug26166.phpt54 throw new Exception("This is an error!");
74 Fatal error: Method ErrorTest::__toString() must not throw an exception, caught Exception: This is …
H A Dbug50383.phpt8 throw new Exception("Missing static method '$method'\n");
11 throw new Exception("Missing method '$method'\n");
/PHP-7.0/ext/standard/tests/array/
H A Dbug71334.phpt17 throw new Exception('Missing X: "' . $x . '"');
21 throw new Exception('Missing Y: "' . $y . '"');
/PHP-7.0/Zend/tests/try/
H A Dcatch_finally_003.phpt14 throw $e;
25 throw new Exception("ex");
/PHP-7.0/ext/standard/tests/streams/
H A Dbug67626.phpt11 throw new Exception('stream_read_exception');
22 throw new Exception('stream_write_exception');
/PHP-7.0/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…
H A Dseekableiterator.inc28 * The method should throw an exception if it is not possible to seek to
40 throw new OutOfBoundsException('Invalid seek position');
/PHP-7.0/tests/classes/
H A Ddestructor_and_exceptions.phpt13 throw new exception("FailClass");
41 throw new FatalException("Damn");
/PHP-7.0/ext/spl/tests/
H A Dspl_autoload_008.phpt11 throw new Exception('Bla');
19 throw new Exception('Bla');
25 throw new Exception('Bla');
H A Dbug55701.phpt7 // Some methods of GlobIterator do not throw a RuntimeException when the glob pattern doesn't match…
8 // Most methods of GlobIterator throw a RuntimeException when the glob pattern does't match any file
25 // The derived classes must throw LogicException if the parent class constructor was not called
29 echo "didn't throw (unexpected)\n";
40 // It must not throw LogicException when the iterator is not valid
75 // Some of them throw a RuntimeException while others just return an invalid value
76 // However, they must not throw LogicException
235 // Supplemental test: no method should throw LogicException if it is invoked
243 // This must not throw an exception
H A Dspl_autoload_012.phpt9 throw new Exception('first');
15 throw new Exception('second');
/PHP-7.0/tests/lang/
H A Dinc_throw.inc3 throw new Exception();
/PHP-7.0/ext/standard/tests/general_functions/
H A Dbug55371.phpt2 Bug #55371 (get_magic_quotes_gpc() and get_magic_quotes_runtime() throw deprecated warning)
/PHP-7.0/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc23 throw new PEAR2_Pyrus_Developer_Creator_Exception(
27 throw new PEAR2_Pyrus_Developer_Creator_Exception(
72 throw new Exception(
140 throw new Exception(

Completed in 23 milliseconds

12345678910>>...15