mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-12 00:59:49 +01:00
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';
|