Home
last modified time | relevance | path

Searched refs:exception (Results 76 – 100 of 883) sorted by relevance

12345678910>>...36

/php-src/ext/simplexml/tests/
H A Dkey_error.phpt19 } catch (Error $exception) {
20 echo $exception->getMessage() . "\n";
29 } catch (Error $exception) {
30 echo $exception->getMessage() . "\n";
H A D012.phpt17 } catch (ValueError $exception) {
18 echo $exception->getMessage() . "\n";
31 } catch (ValueError $exception) {
32 echo $exception->getMessage() . "\n";
/php-src/Zend/tests/readonly_props/
H A Dreadonly_clone_error4.phpt23 } catch (Error $exception) {
24 echo $exception->getMessage() . "\n";
29 } catch (Error $exception) {
30 echo $exception->getMessage() . "\n";
H A Dreadonly_clone_error2.phpt29 } catch (Error $exception) {
30 echo $exception->getMessage() . "\n";
35 } catch (Error $exception) {
36 echo $exception->getMessage() . "\n";
H A Dreadonly_clone_error3.phpt31 } catch (Error $exception) {
32 echo $exception->getMessage() . "\n";
37 } catch (Error $exception) {
38 echo $exception->getMessage() . "\n";
/php-src/ext/mysqli/tests/
H A Dbug36420.phpt20 } catch (Error $exception) {
21 echo $exception->getMessage() . "\n";
27 } catch (Error $exception) {
28 echo $exception->getMessage() . "\n";
H A Dmysqli_close_oo.phpt21 } catch (Error $exception) {
22 echo $exception->getMessage() . "\n";
27 } catch (Error $exception) {
28 echo $exception->getMessage() . "\n";
H A D062.phpt27 } catch (Error $exception) {
28 echo $exception->getMessage() . "\n";
34 } catch (Error $exception) {
35 echo $exception->getMessage() . "\n";
H A Dbug36802.phpt20 } catch (Error $exception) {
21 echo $exception->getMessage() . "\n";
29 } catch (Error $exception) {
30 echo $exception->getMessage() . "\n";
/php-src/ext/sysvshm/tests/
H A D003.phpt20 } catch (Error $exception) {
21 echo $exception->getMessage() . "\n";
26 } catch (Error $exception) {
27 echo $exception->getMessage() . "\n";
/php-src/ext/standard/tests/array/
H A Darray_map_001.phpt9 throw new exception(1);
15 var_dump("exception caught!");
21 string(17) "exception caught!"
/php-src/ext/intl/tests/
H A Dcalendar_toDateTime_error.phpt14 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 …
/php-src/ext/standard/tests/general_functions/
H A Dputenv.phpt20 } catch (ValueError $exception) {
21 echo $exception->getMessage() . "\n";
26 } catch (ValueError $exception) {
27 echo $exception->getMessage() . "\n";
H A Dproc_open_redirect.phpt9 } catch (ValueError $exception) {
10 echo $exception->getMessage() . "\n";
15 } catch (ValueError $exception) {
16 echo $exception->getMessage() . "\n";
21 } catch (ValueError $exception) {
22 echo $exception->getMessage() . "\n";
H A Dproc_open_array.phpt16 } catch (ValueError $exception) {
17 echo $exception->getMessage() . "\n";
23 } catch (ValueError $exception) {
24 echo $exception->getMessage() . "\n";
30 } catch (ValueError $exception) {
31 echo $exception->getMessage() . "\n";
37 } catch (ValueError $exception) {
38 echo $exception->getMessage() . "\n";
/php-src/Zend/tests/fibers/
H A Dcatch.phpt2 Catch exception thrown into fiber
9 } catch (Exception $exception) {
10 var_dump($exception->getMessage());
H A Dunfinished-fiber-with-nested-try-catch.phpt13 } catch (Throwable $exception) {
14 echo "inner exit exception caught!\n";
16 } catch (Throwable $exception) {
17 echo "exit exception caught!\n";
H A Dsuspend-in-force-close-fiber-catching-exception.phpt2 Suspend in force-closed fiber, catching exception thrown from destructor
18 } catch (FiberError $exception) {
19 echo $exception->getMessage(), "\n";
/php-src/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_getDefaultValue_Internal.phpt11 } catch (ReflectionException $exception) {
12 echo $exception->getMessage() . "\n";
24 } catch (ReflectionException $exception) {
25 echo $exception->getMessage() . "\n";
H A DReflectionParameter_isDefaultValueConstant_Internal.phpt11 } catch (ReflectionException $exception) {
12 echo $exception->getMessage() . "\n";
24 } catch (ReflectionException $exception) {
25 echo $exception->getMessage() . "\n";
/php-src/ext/session/tests/
H A Dsession_set_cookie_params_variation7.phpt24 } catch (ValueError $exception) {
25 echo $exception->getMessage() . "\n";
30 } catch (ValueError $exception) {
31 echo $exception->getMessage() . "\n";
48 } catch (ValueError $exception) {
49 echo $exception->getMessage() . "\n";
/php-src/ext/standard/tests/versioning/
H A Dversion_compare_invalid_operator.phpt2 Ensures an exception is thrown if versions are compared with an invalid operator
9 } catch (ValueError $exception) {
10 echo $exception->getMessage() . "\n";
/php-src/ext/standard/tests/strings/
H A Dstripos_error.phpt10 } catch (ValueError $exception) {
11 echo $exception->getMessage() . "\n";
17 } catch (ValueError $exception) {
18 echo $exception->getMessage() . "\n";
/php-src/ext/dom/tests/
H A DDOMDocument_createAttribute_error.phpt2 Test DOMDocument::createAttribute() for expected exception thrown when wrong parameter passed
18 echo 'Wrong exception code';
22 echo 'Wrong exception thrown';
/php-src/Zend/tests/
H A Dbug29368.phpt2 Bug #29368 (The destructor is called when an exception is thrown from the constructor)
24 echo "Caught exception!\n";
32 Caught exception!

Completed in 30 milliseconds

12345678910>>...36