1Non-simple variables are forbidden in PHP 7
2-----
3<?php
4global $$foo->bar;
5-----
6Syntax error, unexpected T_OBJECT_OPERATOR, expecting ';' from 2:13 to 2:14
7array(
8    0: Stmt_Global(
9        vars: array(
10            0: Expr_Variable(
11                name: Expr_Variable(
12                    name: foo
13                )
14            )
15        )
16    )
17    1: Stmt_Expression(
18        expr: Expr_ConstFetch(
19            name: Name(
20                name: bar
21            )
22        )
23    )
24)
25