parser/tests/0012/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

18 lines
380 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));
echo ($a + $b) * ($c / $d - ${"foo" . $c ? 4 : 3});