xref: /PHP-5.3/Zend/tests/035.phpt (revision e35c4579)
1--TEST--
2Using 'static' and 'global' in global scope
3--FILE--
4<?php
5
6static $var, $var, $var = -1;
7var_dump($var);
8
9global $var, $var, $var;
10var_dump($var);
11
12var_dump($GLOBALS['var']);
13
14?>
15--EXPECT--
16int(-1)
17int(-1)
18int(-1)
19