diff options
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc index 445344f5c..bc9cac4eb 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1861,6 +1861,9 @@ function mime_header_encode($string, $charset = 'UTF-8') { * <?php ?> tags; in other words, we evaluate the code as if it were a stand-alone * PHP file. * + * Using this wrapper also ensures that the PHP code which is evaluated can not + * overwrite any variables in the calling code, unlike a regular eval() call. + * * @param $code * The code to evaluate. * @return |