Home
last modified time | relevance | path

Searched refs:exception (Results 176 – 200 of 852) sorted by relevance

12345678910>>...35

/PHP-8.1/Zend/tests/generators/
H A Dmutli_yield_from_with_exception.phpt13 } catch (Exception $e) { print "Caught exception!\n$e\n"; }
35 Caught exception!
43 Caught exception!
H A Dthrow_not_an_exception.phpt2 Generator::throw() with something that's not an exception
15 Fatal error: Uncaught TypeError: Generator::throw(): Argument #1 ($exception) must be of type Throw…
/PHP-8.1/ext/filter/tests/
H A Dbug51368.phpt16 } catch (ValueError $exception) {
17 echo $exception->getMessage() . "\n";
/PHP-8.1/ext/sysvshm/tests/
H A D007.phpt21 } catch (Error $exception) {
22 echo $exception->getMessage() . "\n";
/PHP-8.1/ext/xmlreader/tests/
H A DsetParserProperty_error.phpt15 } catch (ValueError $exception) {
16 echo $exception->getMessage() . "\n";
H A D001.phpt23 } catch (ValueError $exception) {
24 echo $exception->getMessage() . "\n";
/PHP-8.1/ext/simplexml/tests/
H A DSimpleXMLElement_xpath_4.phpt14 } catch (ValueError $exception) {
15 echo $exception->getMessage() . "\n";
/PHP-8.1/ext/opcache/tests/
H A Dissue0057.phpt23 throw new Exception('exception');
38 exception
/PHP-8.1/ext/mysqli/tests/
H A Dbug75448.phpt17 } catch (Error $exception) {
18 echo $exception->getMessage() . "\n";
H A Dmysqli_fetch_assoc_oo.phpt20 } catch (Error $exception) {
21 echo $exception->getMessage() . "\n";
51 } catch (Error $exception) {
52 echo $exception->getMessage() . "\n";
/PHP-8.1/Zend/
H A Dzend_fibers.c490 if (EG(exception)) { in zend_fiber_execute()
492 || !(zend_is_graceful_exit(EG(exception)) || zend_is_unwind_exit(EG(exception))) in zend_fiber_execute()
497 ZVAL_OBJ_COPY(&transfer->value, EG(exception)); in zend_fiber_execute()
603 zend_object *exception = EG(exception); in zend_fiber_object_destroy() local
604 EG(exception) = NULL; in zend_fiber_object_destroy()
616 EG(exception) = Z_OBJ(transfer.value); in zend_fiber_object_destroy()
623 zend_exception_set_previous(EG(exception), exception); in zend_fiber_object_destroy()
626 zend_exception_error(EG(exception), E_ERROR); in zend_fiber_object_destroy()
630 EG(exception) = exception; in zend_fiber_object_destroy()
788 zval *exception; in ZEND_METHOD() local
[all …]
/PHP-8.1/ext/standard/tests/file/
H A Dfile_get_contents_error002.phpt12 } catch (ValueError $exception) {
13 echo $exception->getMessage() . "\n";
H A Dfscanf_error.phpt28 } catch (ValueError $exception) {
29 echo $exception->getMessage() . "\n";
44 } catch (ValueError $exception) {
45 echo $exception->getMessage() . "\n";
/PHP-8.1/Zend/tests/try/
H A Dcatch_finally_006.phpt2 Try catch finally (re-throw exception in catch block)
21 "caught exception" . PHP_EOL;
/PHP-8.1/ext/gd/tests/
H A Dcolorclosest.phpt17 } catch (ValueError $exception) {
18 echo $exception->getMessage() . "\n";
55 } catch (ValueError $exception) {
56 echo $exception->getMessage() . "\n";
H A Dimagecolormatch_error2.phpt17 } catch (ValueError $exception) {
18 echo $exception->getMessage() . "\n";
H A Dimagecolormatch_error3.phpt17 } catch (ValueError $exception) {
18 echo $exception->getMessage() . "\n";
/PHP-8.1/ext/reflection/tests/
H A DReflectionClass_getProperty_002.phpt26 } catch (exception $e) {
31 } catch (exception $e) {
36 } catch (exception $e) {
41 } catch (exception $e) {
/PHP-8.1/ext/xml/tests/
H A Dxml_parser_set_option_variation4.phpt17 } catch (ValueError $exception) {
18 echo $exception->getMessage() . "\n";
/PHP-8.1/ext/hash/tests/
H A Dhash_error.phpt11 } catch (ValueError $exception) {
12 echo $exception->getMessage() . "\n";
/PHP-8.1/ext/pcntl/tests/
H A Dpcntl_unshare_04.phpt20 } catch (ValueError $exception) {
21 echo $exception->getMessage() . "\n";
/PHP-8.1/Zend/tests/throw/
H A D002.phpt65 throw $exception = new Exception('Assignment');
71 $exception = null;
72 throw $exception ??= new Exception('Coalesce assignment null');
78 $exception = new Exception('Coalesce assignment non-null 1');
79 throw $exception ??= new Exception('Coalesce assignment non-null 2');
/PHP-8.1/ext/oci8/tests/
H A Dold_oci_close1.phpt17 } catch(\TypeError $exception) {
18 var_dump($exception->getMessage());
/PHP-8.1/ext/session/tests/
H A Dsession_start_error.phpt14 } catch (TypeError $exception) {
15 echo $exception->getMessage() . "\n";
/PHP-8.1/ext/curl/tests/
H A Dcurl_multi_errno_strerror_001.phpt15 } catch (ValueError $exception) {
16 echo $exception->getMessage() . "\n";

Completed in 32 milliseconds

12345678910>>...35