${var} deprecated

line 3180 - 3187
This commit is contained in:
gtbu 2023-04-08 12:20:53 +02:00 committed by GitHub
parent 27fb85d971
commit 44c7658d9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3177,14 +3177,14 @@ class Compiler
// 1. op[op name][left type][right type]
// 2. op[left type][right type] (passing the op as first arg
// 3. op[op name]
$fn = "op${ucOpName}${ucLType}${ucRType}";
$fn = "op{$ucOpName}{$ucLType}{$ucRType}";
if (
\is_callable([$this, $fn]) ||
(($fn = "op${ucLType}${ucRType}") &&
(($fn = "op{$ucLType}{$ucRType}") &&
\is_callable([$this, $fn]) &&
$passOp = true) ||
(($fn = "op${ucOpName}") &&
(($fn = "op{$ucOpName}") &&
\is_callable([$this, $fn]) &&
$genOp = true)
) {