--TEST-- Closures should have unique identifiers within parsed code in version 50 --FILE-- --EXPECTF-- Deprecated: ast\parse_code(): Version 50 is deprecated in %s.php on line 11 AST_STMT_LIST 0: AST_CLOSURE name: "{closure}" docComment: null params: AST_PARAM_LIST uses: null stmts: AST_STMT_LIST returnType: null __declId: 0 1: AST_CLOSURE name: "{closure}" docComment: null params: AST_PARAM_LIST uses: null stmts: AST_STMT_LIST returnType: null __declId: 1 2: AST_FUNC_DECL name: "test" docComment: null params: AST_PARAM_LIST uses: null stmts: AST_STMT_LIST returnType: null __declId: 2 3: AST_FUNC_DECL name: "test" docComment: null params: AST_PARAM_LIST uses: null stmts: AST_STMT_LIST returnType: null __declId: 3 4: AST_CLASS name: "Test" docComment: null extends: null implements: null stmts: AST_STMT_LIST __declId: 4 5: AST_CLASS name: "Test" docComment: null extends: null implements: null stmts: AST_STMT_LIST __declId: 5 AST_STMT_LIST 0: AST_CLOSURE name: "{closure}" docComment: null params: AST_PARAM_LIST uses: null stmts: AST_STMT_LIST returnType: null attributes: null __declId: 0 1: AST_CLOSURE name: "{closure}" docComment: null params: AST_PARAM_LIST uses: null stmts: AST_STMT_LIST returnType: null attributes: null __declId: 1 2: AST_FUNC_DECL name: "test" docComment: null params: AST_PARAM_LIST stmts: AST_STMT_LIST returnType: null attributes: null __declId: 2 3: AST_FUNC_DECL name: "test" docComment: null params: AST_PARAM_LIST stmts: AST_STMT_LIST returnType: null attributes: null __declId: 3 4: AST_CLASS name: "Test" docComment: null extends: null implements: null stmts: AST_STMT_LIST attributes: null __declId: 4 5: AST_CLASS name: "Test" docComment: null extends: null implements: null stmts: AST_STMT_LIST attributes: null __declId: 5