From 78d17c25eeecc78cb7098b1a01d42391e36af2c1 Mon Sep 17 00:00:00 2001 From: Mikhail Alferov <39414600+mmalferov@users.noreply.github.com> Date: Fri, 14 Jun 2024 18:13:40 +0300 Subject: [PATCH] eval.xml: add link to ParseError exception page (#3446) --- reference/misc/functions/eval.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/misc/functions/eval.xml b/reference/misc/functions/eval.xml index e471d4b84f15..e96621e0c1be 100644 --- a/reference/misc/functions/eval.xml +++ b/reference/misc/functions/eval.xml @@ -81,7 +81,7 @@ eval returns &null; unless return is called in the evaluated code, in which case the value passed to return is returned. As of PHP 7, if there is a - parse error in the evaluated code, eval throws a ParseError exception. + parse error in the evaluated code, eval throws a ParseError exception. Before PHP 7, in this case eval returned &false; and execution of the following code continued normally. It is not possible to catch a parse error in eval