From: Marcel Araujo Date: Fri, 21 Jun 2013 21:25:51 +0000 (-0300) Subject: https://bugs.php.net/bug.php?id=64979 X-Git-Tag: php-5.5.6RC1~21^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47678c06c65be8cd844b1d6ee61f7645e0f9bfcf;p=php https://bugs.php.net/bug.php?id=64979 --- diff --git a/Zend/tests/generators/generator_closure_static_variable.phpt b/Zend/tests/generators/generator_closure_static_variable.phpt new file mode 100644 index 0000000000..01d7240788 --- /dev/null +++ b/Zend/tests/generators/generator_closure_static_variable.phpt @@ -0,0 +1,30 @@ +--TEST-- +Closures with static variables can be generators +--FILE-- + +--EXPECT-- +int(1) +int(2) +int(1) \ No newline at end of file