From: David Grudl Date: Mon, 10 Mar 2025 23:29:17 +0000 (+0100) Subject: Compile: supports visibility modifiers X-Git-Tag: v5.0.3~25 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=6bf0b859193fe881dc5be5d5f443fc70b1765f25;p=adminer.git Compile: supports visibility modifiers --- diff --git a/compile.php b/compile.php index 1267369a..bc09252c 100755 --- a/compile.php +++ b/compile.php @@ -297,7 +297,7 @@ function php_shrink($input) { $doc_comment = true; $token[1] = substr_replace($token[1], "* @version $VERSION\n", -2, 0); } - if ($token[0] == T_VAR) { + if ($token[0] == T_VAR || $token[0] == T_PUBLIC || $token[0] == T_PROTECTED || $token[0] == T_PRIVATE) { $shortening = false; } elseif (!$shortening) { if ($token[1] == ';') {