File "NotEqualBinary.php"
Full Path: /home/warrior1/public_html/languages/wp-content/plugins/mailpoet/vendor-prefixed/twig/twig/src/Node/Expression/Binary/NotEqualBinary.php
File size: 552 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Twig\Node\Expression\Binary;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Compiler;
class NotEqualBinary extends AbstractBinary
{
public function compile(Compiler $compiler) : void
{
if (\PHP_VERSION_ID >= 80000) {
parent::compile($compiler);
return;
}
$compiler->raw('(0 !== \\MailPoetVendor\\twig_compare(')->subcompile($this->getNode('left'))->raw(', ')->subcompile($this->getNode('right'))->raw('))');
}
public function operator(Compiler $compiler) : Compiler
{
return $compiler->raw('!=');
}
}