Searched refs:throw_exception (Results 1 – 5 of 5) sorted by relevance
/PHP-7.2/Zend/tests/try/ |
H A D | catch_finally_004.phpt | 6 function throw_exception($msg) { 15 throw_exception("try"); 18 throw_exception("catch"); 21 throw_exception("finally");
|
/PHP-7.2/Zend/ |
H A D | zend.h | 277 ZEND_API ZEND_COLD void zend_internal_type_error(zend_bool throw_exception, const char *format, ...… 278 ZEND_API ZEND_COLD void zend_internal_argument_count_error(zend_bool throw_exception, const char *f…
|
H A D | zend.c | 1392 ZEND_API ZEND_COLD void zend_internal_type_error(zend_bool throw_exception, const char *format, ...… in zend_internal_type_error() argument 1399 if (throw_exception) { in zend_internal_type_error() 1409 ZEND_API ZEND_COLD void zend_internal_argument_count_error(zend_bool throw_exception, const char *f… in zend_internal_argument_count_error() argument 1416 if (throw_exception) { in zend_internal_argument_count_error()
|
H A D | zend_API.c | 789 zend_bool throw_exception = in zend_parse_arg() local 793 zend_internal_type_error(throw_exception, "%s%s%s() expects parameter %d %s", in zend_parse_arg() 797 zend_internal_type_error(throw_exception, in zend_parse_arg() 907 zend_bool throw_exception = ZEND_ARG_USES_STRICT_TYPES() || (flags & ZEND_PARSE_PARAMS_THROW); in zend_parse_va_args() local 908 …zend_internal_argument_count_error(throw_exception, "%s%s%s() expects %s %d parameter%s, %d given", in zend_parse_va_args()
|
H A D | zend_compile.c | 2487 static zend_op *zend_compile_class_ref(znode *result, zend_ast *name_ast, int throw_exception) /* {… in zend_compile_class_ref() argument 2505 opline->extended_value = fetch_type | (throw_exception ? ZEND_FETCH_CLASS_EXCEPTION : 0); in zend_compile_class_ref() 2519 …opline->extended_value = ZEND_FETCH_CLASS_DEFAULT | (throw_exception ? ZEND_FETCH_CLASS_EXCEPTION … in zend_compile_class_ref()
|
Completed in 44 milliseconds