diff options
Diffstat (limited to 'debian/perl-framework/t/htdocs/php/func2.php')
-rw-r--r-- | debian/perl-framework/t/htdocs/php/func2.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/perl-framework/t/htdocs/php/func2.php b/debian/perl-framework/t/htdocs/php/func2.php new file mode 100644 index 0000000..64ea795 --- /dev/null +++ b/debian/perl-framework/t/htdocs/php/func2.php @@ -0,0 +1,13 @@ +<?php +old_function blah ( + static $hey=0,$yo=0; + + echo "hey=".$hey++.", ",$yo--."\n"; +); + +blah(); +blah(); +blah(); +if (isset($hey) || isset($yo)) { + echo "Local variables became global :(\n"; +} |