1--TEST-- 2AST_GREATER(_EQUAL) converted to AST_BINARY_OP 3--FILE-- 4<?php 5 6require __DIR__ . '/../util.php'; 7 8$code = <<<'PHP' 9<?php 10$a > $b; 11$a >= $b; 12$a and $b; 13$a or $b; 14PHP; 15 16echo ast_dump(ast\parse_code($code, $version=50)), "\n"; 17 18?> 19--EXPECT-- 20AST_STMT_LIST 21 0: AST_BINARY_OP 22 flags: BINARY_IS_GREATER (256) 23 left: AST_VAR 24 name: "a" 25 right: AST_VAR 26 name: "b" 27 1: AST_BINARY_OP 28 flags: BINARY_IS_GREATER_OR_EQUAL (257) 29 left: AST_VAR 30 name: "a" 31 right: AST_VAR 32 name: "b" 33 2: AST_BINARY_OP 34 flags: BINARY_BOOL_AND (259) 35 left: AST_VAR 36 name: "a" 37 right: AST_VAR 38 name: "b" 39 3: AST_BINARY_OP 40 flags: BINARY_BOOL_OR (258) 41 left: AST_VAR 42 name: "a" 43 right: AST_VAR 44 name: "b" 45