Searched refs:exception (Results 176 – 200 of 852) sorted by relevance
12345678910>>...35
13 } catch (Exception $e) { print "Caught exception!\n$e\n"; }35 Caught exception!43 Caught exception!
2 Generator::throw() with something that's not an exception15 Fatal error: Uncaught TypeError: Generator::throw(): Argument #1 ($exception) must be of type Throw…
16 } catch (ValueError $exception) {17 echo $exception->getMessage() . "\n";
21 } catch (Error $exception) {22 echo $exception->getMessage() . "\n";
15 } catch (ValueError $exception) {16 echo $exception->getMessage() . "\n";
23 } catch (ValueError $exception) {24 echo $exception->getMessage() . "\n";
14 } catch (ValueError $exception) {15 echo $exception->getMessage() . "\n";
23 throw new Exception('exception');38 exception
17 } catch (Error $exception) {18 echo $exception->getMessage() . "\n";
20 } catch (Error $exception) {21 echo $exception->getMessage() . "\n";51 } catch (Error $exception) {52 echo $exception->getMessage() . "\n";
490 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() local604 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 …]
12 } catch (ValueError $exception) {13 echo $exception->getMessage() . "\n";
28 } catch (ValueError $exception) {29 echo $exception->getMessage() . "\n";44 } catch (ValueError $exception) {45 echo $exception->getMessage() . "\n";
2 Try catch finally (re-throw exception in catch block)21 "caught exception" . PHP_EOL;
17 } catch (ValueError $exception) {18 echo $exception->getMessage() . "\n";55 } catch (ValueError $exception) {56 echo $exception->getMessage() . "\n";
17 } catch (ValueError $exception) {18 echo $exception->getMessage() . "\n";
26 } catch (exception $e) {31 } catch (exception $e) {36 } catch (exception $e) {41 } catch (exception $e) {
11 } catch (ValueError $exception) {12 echo $exception->getMessage() . "\n";
20 } catch (ValueError $exception) {21 echo $exception->getMessage() . "\n";
65 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');
17 } catch(\TypeError $exception) {18 var_dump($exception->getMessage());
14 } catch (TypeError $exception) {15 echo $exception->getMessage() . "\n";
Completed in 32 milliseconds