Libs changes for php 8.x

This commit is contained in:
Sumit Panwar
2025-05-23 10:46:00 +05:30
parent 178e8fa28a
commit fa0a498733
1185 changed files with 92175 additions and 58962 deletions

View File

@@ -256,8 +256,15 @@ class ExpressionListProcessor extends AbstractProcessor {
// if the last token is colref, const or expression
// then * is an operator
// but if the previous colref ends with a dot, the * is the all-columns-alias
if (!$prev->isColumnReference() && !$prev->isConstant() && !$prev->isExpression()
&& !$prev->isBracketExpression() && !$prev->isAggregateFunction() && !$prev->isVariable()) {
if (
!$prev->isColumnReference()
&& !$prev->isConstant()
&& !$prev->isExpression()
&& !$prev->isBracketExpression()
&& !$prev->isAggregateFunction()
&& !$prev->isVariable()
&& !$prev->isFunction()
) {
$curr->setTokenType(ExpressionType::COLREF);
break;
}