mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 22:56:46 +02:00
Use comma in consecutive echos
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1025 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -132,9 +132,13 @@ function php_shrink($input) {
|
||||
if ($tokens[$i+1][0] === T_ECHO) {
|
||||
// join two consecutive echos
|
||||
next($tokens);
|
||||
<<<<<<< HEAD:compile.php
|
||||
$token[1] = '.'; //! join ''.'' and "".""
|
||||
} else {
|
||||
$in_echo = false;
|
||||
=======
|
||||
$token[1] = ','; // '.' would conflict with "a".1+2 and would use more memory //! remove ',' and ","
|
||||
>>>>>>> Use comma in consecutive echos:compile.php
|
||||
}
|
||||
} elseif ($token[0] === T_VARIABLE && !isset($special_variables[$token[1]])) {
|
||||
$token[1] = '$' . $short_variables[$token[1]];
|
||||
|
Reference in New Issue
Block a user