parser/tests/0010/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
318 B
PHP

<?php
define('a', 1 == 1);
define('a', 1 === 1);
define('a', 1 != 1);
define('a', 1 !== 1);
define('a', 1 + 2);
define('a', 1 - 2);
define('a', 1 / 2);
define('a', 1 ^ 2);
define('a', 1 * 2);
define('a', 1 >> 2);
define('a', 1 << 2);
define('a', 1 | 2);
define('a', 1 & 2);
define('a', ~2);
echo 1 + 2 * 3 / 4 - 5;