Home
last modified time | relevance | path

Searched refs:throw (Results 101 – 125 of 606) sorted by relevance

12345678910>>...25

/PHP-8.3/ext/zend_test/tests/
H A Dobserver_fiber_06.phpt19 $fiber->throw(new Exception);
36 <!-- init Fiber::throw() -->
/PHP-8.3/tests/classes/
H A Ddestructor_and_exceptions.phpt13 throw new exception("FailClass");
41 throw new FatalException("Damn");
/PHP-8.3/ext/spl/tests/
H A Dspl_autoload_012.phpt9 throw new Exception('first');
15 throw new Exception('second');
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 doesn't match any fi…
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
/PHP-8.3/ext/standard/tests/general_functions/
H A Dproc_open_sockets1.phpt29 throw new Error("Select failed");
41 throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
H A Dproc_open_sockets3.phpt13 throw new \Error("Select failed");
22 throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
/PHP-8.3/ext/opcache/tests/match/
H A D002.phpt16 1, 2, 3, 4, 5 => throw new RuntimeException(),
25 '1', '2', '3', '4', '5' => throw new RuntimeException(),
/PHP-8.3/tests/lang/
H A Dinc_throw.inc3 throw new Exception();
/PHP-8.3/ext/xsl/tests/
H A Dthrow_in_autoload.phpt2 Fork of bug33853.phpt with exit replaced by throw
10 throw new Exception("Autoload exception");
/PHP-8.3/Zend/tests/
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 Dgh11108_shutdown.inc4 throw new Exception();
H A Dbug50383.phpt8 throw new Exception("Missing static method '$method'\n");
11 throw new Exception("Missing method '$method'\n");
H A Dlsb_015.phpt23 throw C::getException();
51 throw new Exception();
H A Dtemporary_cleaning_008.phpt8 throw new Exception();
/PHP-8.3/Zend/tests/fibers/
H A Dthrow-in-multiple-destroyed-fibers-after-shutdown.phpt11 throw new Exception('test1');
21 throw new Exception('test2');
/PHP-8.3/Zend/tests/type_declarations/
H A Dtyped_properties_108.phpt16 throw new Exception("ex");
28 throw new Exception("ex");
/PHP-8.3/sapi/fpm/tests/
H A Dfcgi.inc178 throw new TransportException('Reading from the stream failed');
190 throw new TransportException('Writing to the stream failed');
311 throw new TimedOutException('Reading timeout');
326 throw new TimedOutException('Writing timeout');
330 throw new TransportException('Writing to the stream failed');
812 throw new TimedOutException('Write timed out');
817 throw new \Exception('Failed to write request to socket');
863 throw new \Exception('Invalid request id given');
902 throw new \Exception('Timed out');
914 throw new TimedOutException( 'Read timed out' );
[all …]
/PHP-8.3/ext/phar/tests/
H A Dbug54289.phpt28 echo 'failed to throw expected exception';
35 echo 'failed to throw expected exception';
47 echo 'failed to throw expected exception';
/PHP-8.3/Zend/tests/stack_limit/
H A Dstack_limit_008.phpt21 echo "Will throw:\n";
57 Will throw:
/PHP-8.3/sapi/cli/tests/
H A Dphp_cli_server_pdeathsig.phpt34 throw new \Exception('Could not find worker pids');
47throw new \Exception('Workers were not properly terminated. Before: ' . join(', ', $workersBefore)…
/PHP-8.3/Zend/
H A Dzend_generators_arginfo.h34 ZEND_METHOD(Generator, throw);
45 ZEND_ME(Generator, throw, arginfo_class_Generator_throw, ZEND_ACC_PUBLIC)
/PHP-8.3/Zend/tests/throw/
H A Dexit_in_finally.phpt6 throw new Exception();
/PHP-8.3/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 27 milliseconds

12345678910>>...25