Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 336) sorted by last modified time

12345678910>>...14

/PHP-5.5/tests/lang/
H A Dbug32828.phpt2 Bug #32828 (Throwing exception in output_callback function with ob_start and ob_end_clean leads to …
16 Fatal error: Uncaught exception 'Exception' in %s:%d
H A Derror_2_exception_001.phpt33 } catch (MyException $exception) {
34 echo "There was an exception: " . $exception->getErrno() . ", '" . $exception->getErrmsg() . "'\n";
38 trigger_error("I will become an exception", E_USER_ERROR);
39 } catch (MyException $exception) {
40 echo "There was an exception: " . $exception->getErrno() . ", '" . $exception->getErrmsg() . "'\n";
45 There was an exception: 256, 'I will become an exception'
H A D035.phpt20 throw new MyException("'This is an exception!'");
25 } catch (MyException $exception) {
26 print "There shouldn't be an exception: " . $exception->getException();
32 } catch (MyException $exception) {
33 print "There was an exception: " . $exception->getException();
38 There was an exception: 'This is an exception!'
H A D038.phpt21 $err_msg = 'no exception';
H A D039.phpt25 $err_msg = 'no exception';
/PHP-5.5/tests/classes/
H A Dtostring_003.phpt2 ZE2 __toString() in __destruct/exception
33 Fatal error: Method Test::__toString() must not throw an exception in %stostring_003.php on line %d
H A Dautoload_008.phpt2 Ensure catch blocks for unknown exception types do not trigger autoload.
H A Ddestructor_and_exceptions.phpt2 ZE2 catch exception thrown in destructor
13 throw new exception("FailClass");
/PHP-5.5/scripts/dev/generate-phpt/src/
H A Dgenerate-phpt.php22 } catch (exception $e) {
34 } catch (exception $e) {
/PHP-5.5/scripts/dev/
H A Dgenerate-phpt.phar31 } catch (exception $e) {
43 } catch (exception $e) {
/PHP-5.5/sapi/cli/
H A Dphp_cli.c1131 if (EG(exception)) { in do_cli()
1132 …zval *msg = zend_read_property(zend_exception_get_default(TSRMLS_C), EG(exception), "message", siz… in do_cli()
1134 zval_ptr_dtor(&EG(exception)); in do_cli()
1135 EG(exception) = NULL; in do_cli()
/PHP-5.5/sapi/cli/tests/
H A D005.phpt17 var_dump(`"$php" -n --rc exception`);
/PHP-5.5/main/streams/
H A Duserspace.c649 if (EG(exception)) { in php_userstreamop_write()
702 if (EG(exception)) { in php_userstreamop_read()
/PHP-5.5/main/
H A Dmain.c1018 if (EG(error_handling) == EH_THROW && !EG(exception)) { in php_error_cb()
2103 EG(exception) = NULL; in php_module_startup()
/PHP-5.5/ext/xsl/tests/
H A Dbug49634.phpt33 throw new Exception('Test exception.');
55 exception 'Exception' with message 'Test exception.' in %s:%d
60 exception 'Exception' with message 'Test exception.' in %s:%d
65 exception 'Exception' with message 'Test exception.' in %s:%d
70 exception 'Exception' with message 'Test exception.' in %s:%d
75 exception 'Exception' with message 'Test exception.' in %s:%d
80 exception 'Exception' with message 'Test exception.' in %s:%d
85 exception 'Exception' with message 'Test exception.' in %s:%d
90 exception 'Exception' with message 'Test exception.' in %s:%d
95 exception 'Exception' with message 'Test exception.' in %s:%d
[all …]
/PHP-5.5/ext/xml/
H A Dxml.c509 if (parser && handler && !EG(exception)) { in xml_call_handler()
555 return EG(exception) ? NULL : retval; in xml_call_handler()
/PHP-5.5/ext/tokenizer/tests/
H A Dtoken_get_all_variation17.phpt2 Test token_get_all() function : usage variations - with exception keywords
13 * Testing token_get_all() with different exception keywords
19 echo "*** Testing token_get_all() : with exception keywords ***\n";
33 echo "caught exception:";
42 *** Testing token_get_all() : with exception keywords ***
575 string(19) ""caught exception:""
/PHP-5.5/ext/standard/
H A Dvar_unserializer.c458 if (EG(exception)) { in object_common2()
688 if (EG(exception)) { in php_var_unserialize()
697 if (EG(exception)) { in php_var_unserialize()
718 if (EG(exception)) { in php_var_unserialize()
735 if (EG(exception)) { in php_var_unserialize()
H A Dvar_unserializer.re462 if (EG(exception)) {
747 if (EG(exception)) {
756 if (EG(exception)) {
777 if (EG(exception)) {
794 if (EG(exception)) {
H A Dvar.c715 if (EG(exception)) { in php_var_serialize_intern()
806 if (EG(exception)) { in php_var_serialize_intern()
933 if (EG(exception)) { in PHP_FUNCTION()
970 if (!EG(exception)) { in PHP_FUNCTION()
/PHP-5.5/ext/standard/tests/serialize/
H A Dbug69152.phpt5 $x = unserialize('O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"ryat";}');
13 exception 'Exception' in %s:%d
H A Dbug69793.phpt15 string(53) "exception 'Exception' in :1337
H A Dbug26762.phpt15 throw new exception;
/PHP-5.5/ext/standard/tests/general_functions/
H A Dbug44487.phpt2 Bug #44487 (call_user_method_array issues a warning when throwing an exception)
H A Dbug25038.phpt2 Bug #25038 (call_user_func issues warning if function throws exception)
8 throw new Exception("This is an exception from bar({$x}).");
30 This is an exception from bar(first try).
31 This is an exception from bar(second try).

Completed in 115 milliseconds

12345678910>>...14