diff --git a/reference/misc/functions/eval.xml b/reference/misc/functions/eval.xml index fd4b359f9f..d5ec01d308 100644 --- a/reference/misc/functions/eval.xml +++ b/reference/misc/functions/eval.xml @@ -1,5 +1,5 @@ - + @@ -16,7 +16,11 @@ eval evaluates the string given in code_str as PHP code. Among other things, this can be useful for storing code in a database text field for - later execution. + later execution. code_str does not have to + start with or contain + PHP Opening tags. If you want your given string to be + evaluated like regular PHP code with opening tags you can prepend + code_str with a closing tag. There are some factors to keep in mind when using