Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No comments without whitespace

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1023 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
commit e2bc1daa7da901f68a8d4273953d3291544b0aba 1 parent 81d9d52
jakubvrana authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  compile.php
View
2  compile.php
@@ -125,7 +125,7 @@ function php_shrink($input) {
} elseif ($token[0] == T_ECHO) {
$in_echo = true;
} elseif ($token[1] == ';' && $in_echo) {
- if (in_array($tokens[$i+1][0], array(T_WHITESPACE, T_COMMENT)) && $tokens[$i+2][0] === T_ECHO) {
+ if ($tokens[$i+1][0] === T_WHITESPACE && $tokens[$i+2][0] === T_ECHO) {
next($tokens);
$i++;
}
Please sign in to comment.
Something went wrong with that request. Please try again.