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

14 lines
114 B
PHP

<?php
$a = 2 ** 2;
$b = 1 ? 2 : 3;
$c = 1 ? 2 ? 3 : 4 : 5;
$d = 1 ?: 2 ?: 3;
$e = 1 ?? 2;
$f = 1 ?? 2 ?? 3;