php-src/Zend/tests/035.phpt
2023-05-24 20:17:31 +02:00

19 lines
212 B
PHP

--TEST--
Using 'static' and 'global' in global scope
--FILE--
<?php
static $var = -1;
var_dump($var);
global $var, $var, $var;
var_dump($var);
var_dump($GLOBALS['var']);
?>
--EXPECT--
int(-1)
int(-1)
int(-1)