diff --git a/compile.php b/compile.php index a431645b..8e84dea2 100755 --- a/compile.php +++ b/compile.php @@ -168,7 +168,7 @@ function short_identifier($number, $chars) { // based on http://latrine.dgx.cz/jak-zredukovat-php-skripty function php_shrink($input) { global $VERSION; - $special_variables = array_flip(array('$this', '$GLOBALS', '$_GET', '$_POST', '$_FILES', '$_COOKIE', '$_SESSION', '$_SERVER', '$http_response_header')); + $special_variables = array_flip(array('$this', '$GLOBALS', '$_GET', '$_POST', '$_FILES', '$_COOKIE', '$_SESSION', '$_SERVER', '$http_response_header', '$php_errormsg')); $short_variables = array(); $shortening = true; $tokens = token_get_all($input);