parser/tests/0011/code.php
Saif Eddin Gmati 017b2e19c3
chore: use new integration test runner instead of assert_ast() (#127)
Signed-off-by: azjezz <azjezz@protonmail.com>

Signed-off-by: azjezz <azjezz@protonmail.com>
2022-11-29 01:33:01 +00:00

19 lines
368 B
PHP

<?php
define('a', $a == $b);
define('a', $a === $b);
define('a', $a != $b);
define('a', $a !== $b);
define('a', $a + $b);
define('a', $a - $b);
define('a', $a / $b);
define('a', $a ^ $b);
define('a', $a * $b);
define('a', $a >> $b);
define('a', $a << $b);
define('a', $a | $b);
define('a', $a & $b);
define('a', ~$b);
echo $a + $b * $c / $d - ${"foo" . $c ? 4 : 3};