php-src/tests/lang/011.phpt
2004-05-19 08:45:46 +00:00

24 lines
215 B
PHP

--TEST--
Testing nested functions
--FILE--
<?php
function F()
{
$a = "Hello ";
return($a);
}
function G()
{
static $myvar = 4;
echo "$myvar ";
echo F();
echo "$myvar";
}
G();
?>
--EXPECT--
4 Hello 4