dis-bench / src /php /php-src /tests /lang /011.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
218 Bytes
--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