diff options
author | SVN Migration <svn@php.net> | 2002-05-19 13:54:38 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2002-05-19 13:54:38 +0000 |
commit | 62e263f01ef567ae3926739f37d13cac17fe7739 (patch) | |
tree | 353ff240a432d453632dcad134524cbb9e0ea610 /tests/func/002.phpt | |
parent | e3490f1429d8f03c16d8cef7cd835c3fb2d5b43e (diff) | |
download | php-git-php-4.3.0dev-ZendEngine2.tar.gz |
This commit was manufactured by cvs2svn to create tagphp-4.3.0dev-ZendEngine2
'php_4_3_0_dev_ZendEngine2'.
Diffstat (limited to 'tests/func/002.phpt')
-rw-r--r-- | tests/func/002.phpt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/func/002.phpt b/tests/func/002.phpt deleted file mode 100644 index aa752ee13c..0000000000 --- a/tests/func/002.phpt +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -Static variables in functions ---POST-- ---GET-- ---FILE-- -<?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"; -} ---EXPECT-- -hey=0, 0 -hey=1, -1 -hey=2, -2 |