Home
last modified time | relevance | path

Searched refs:throw (Results 76 – 100 of 613) sorted by relevance

12345678910>>...25

/PHP-8.3/Zend/tests/
H A Dexception_004.phpt9 throw new Foo();
16 Fatal error: Uncaught Error: Cannot throw objects that do not implement Throwable in %s:%d
H A Dbug33771.phpt12 throw new Exception();
18 throw new Exception();
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 Dgh10695_4.phpt7 throw new \Exception('exception handler');
10 throw new \Exception('main');
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_021.phpt2 Testing throw exception doesn't crash with wrong params, variant 3
7 throw new Hello(new stdClass);
H A Dexception_018.phpt2 Testing throw exception doesn't crash with wrong params, variant 1
7 throw new Hello(new stdClass);
H A Dbug53511.phpt7 throw new Exception("ops 1");
14 throw new Exception("ops 2");
H A Dexception_008.phpt9 throw new Exception("First");
16 throw new Exception("Second");
H A Dbug52361.phpt8 throw new Exception(__CLASS__);
16 throw new Exception(__FUNCTION__);
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(): mixed { throw new Exception(); }
/PHP-8.3/Zend/tests/fibers/
H A Dthrow-during-fiber-destruct.phpt9 throw new Exception("Exception 2");
14 throw new Exception("Exception 1");
H A Dthrow-into-non-running-fiber.phpt8 $fiber->throw(new Exception('test'));
14 #0 %sthrow-into-non-running-fiber.php(%d): Fiber->throw(Object(Exception))
/PHP-8.3/ext/standard/tests/general_functions/
H A Dproc_open_sockets2.phpt13 throw new \Error("Select failed");
22 throw new Error("Failed to read: " . (error_get_last()['message'] ?? 'N/A'));
33 throw new Error("Failed to write: " . (error_get_last()['message'] ?? 'N/A'));
/PHP-8.3/ext/standard/tests/array/
H A Dbug71334.phpt17 throw new Exception('Missing X: "' . $x . '"');
21 throw new Exception('Missing Y: "' . $y . '"');
/PHP-8.3/Zend/tests/try/
H A Dbug71604_3.phpt8 throw new Exception(1);
14 throw new Exception(2);
H A Dcatch_novar_2.phpt8 throw new RuntimeException(__METHOD__);
12 throw new ThrowsOnDestruct();
H A Dtry_finally_023.phpt8 throw new Exception(2);
14 throw new Exception(1);
H A Dbug71604_2.phpt8 throw new Exception(1);
11 throw new Exception(2);
H A Dcatch_finally_003.phpt14 throw $e;
25 throw new Exception("ex");
/PHP-8.3/Zend/tests/generators/
H A Dyield_in_finally_cleanup.phpt7 throw new Exception();
22 throw new Exception();
/PHP-8.3/ext/ffi/tests/
H A Ddeprecations.phpt13 throw new Exception($message);
27 throw new Exception($message);
38 throw new Exception($message);
/PHP-8.3/ext/standard/tests/streams/
H A Dbug67626.phpt13 throw new Exception('stream_read_exception');
24 throw new Exception('stream_write_exception');

Completed in 24 milliseconds

12345678910>>...25