Searched refs:exception (Results 51 – 75 of 852) sorted by relevance
12345678910>>...35
18 } catch (AssertionError $exception) {19 echo $exception->getMessage() . "\n";29 } catch (AssertionError $exception) {30 echo $exception->getMessage() . "\n";
2 Try finally (exception in "return" statement)17 echo "exception in foo\n";26 echo "exception in main\n";31 exception in main
7 } catch (Exception $exception) {8 echo $exception->getMessage(), "\n";13 } catch (Exception $exception) {14 echo $exception->getMessage(), "\n";
8 } catch (ValueError $exception) {9 echo $exception->getMessage() . "\n";14 } catch (ValueError $exception) {15 echo $exception->getMessage() . "\n";
14 } catch (ValueError $exception) {15 echo $exception->getMessage() . "\n";20 } catch (ValueError $exception) {21 echo $exception->getMessage() . "\n";
10 } catch (TypeError $exception) {11 echo $exception->getMessage() . "\n";16 } catch (TypeError $exception) {17 echo $exception->getMessage() . "\n";
2 Bug #25038 (call_user_func issues warning if function throws exception)8 throw new Exception("This is an exception from bar({$x}).");29 This is an exception from bar(first try).30 This is an exception from bar(second try).
20 } catch (ValueError $exception) {21 echo $exception->getMessage() . "\n";26 } catch (ValueError $exception) {27 echo $exception->getMessage() . "\n";
2 Catching an exception thrown from an included file9 echo "caught exception\n";14 caught exception
24 } catch (ValueError $exception) {25 echo $exception->getMessage() . "\n";30 } catch (ValueError $exception) {31 echo $exception->getMessage() . "\n";36 } catch (ValueError $exception) {37 echo $exception->getMessage() . "\n";46 } catch (ValueError $exception) {47 echo $exception->getMessage() . "\n";52 } catch (ValueError $exception) {53 echo $exception->getMessage() . "\n";
11 } catch (ValueError $exception) {12 echo $exception->getMessage() . "\n";17 } catch (ValueError $exception) {18 echo $exception->getMessage() . "\n";
19 } catch (Error $exception) {20 echo $exception->getMessage() . "\n";29 } catch (Error $exception) {30 echo $exception->getMessage() . "\n";
17 } catch (ValueError $exception) {18 echo $exception->getMessage() . "\n";31 } catch (ValueError $exception) {32 echo $exception->getMessage() . "\n";
20 } catch (Error $exception) {21 echo $exception->getMessage() . "\n";27 } catch (Error $exception) {28 echo $exception->getMessage() . "\n";
20 } catch (Error $exception) {21 echo $exception->getMessage() . "\n";29 } catch (Error $exception) {30 echo $exception->getMessage() . "\n";
106 throw new Exception("exception 1"),107 throw new Exception("exception 2")134 throw $exception = new Exception('throw $exception = new Exception();');136 var_dump($exception->getMessage());139 $exception = null;140 throw $exception ??= new Exception('throw $exception ??= new Exception();');142 var_dump($exception->getMessage());167 string(11) "exception 1"171 string(35) "throw $exception = new Exception();"172 string(37) "throw $exception ??= new Exception();"
20 } catch (Error $exception) {21 echo $exception->getMessage() . "\n";26 } catch (Error $exception) {27 echo $exception->getMessage() . "\n";
9 throw new exception(1);15 var_dump("exception caught!");21 string(17) "exception caught!"
14 var_dump("exception: {$e->getMessage()}");43 Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception…44 string(77) "exception: DateTimeZone::__construct(): Unknown or bad timezone (Etc/Unknown)"46 Warning: intlcal_to_date_time(): intlcal_to_date_time: DateTimeZone constructor threw exception in …49 Warning: IntlCalendar::toDateTime(): intlcal_to_date_time: DateTimeZone constructor threw exception…52 Warning: intlcal_to_date_time(): intlcal_to_date_time: DateTimeZone constructor threw exception in …
2 Catch exception thrown into fiber9 } catch (Exception $exception) {10 var_dump($exception->getMessage());
11 } catch (ReflectionException $exception) {12 echo $exception->getMessage() . "\n";24 } catch (ReflectionException $exception) {25 echo $exception->getMessage() . "\n";
2 Ensures an exception is thrown if versions are compared with an invalid operator9 } catch (ValueError $exception) {10 echo $exception->getMessage() . "\n";
Completed in 28 milliseconds