mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-11 16:49:43 +01:00
a73aa7eec1
Our output for yield / yield from is currently not very nice, but also not easy to change.
11 lines
194 B
Plaintext
11 lines
194 B
Plaintext
Global and static variables
|
|
-----
|
|
<?php
|
|
|
|
global $a, $$a, ${$a[$a]};
|
|
static $a, $b;
|
|
static $a = 'foo', $b = 'bar';
|
|
-----
|
|
global $a, ${$a}, ${$a[$a]};
|
|
static $a, $b;
|
|
static $a = 'foo', $b = 'bar'; |