Browse Source

devel: fix yield sample for decompile test

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1336 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 8 years ago
parent
commit
ef01ec91e8
  1. 6
      mod_disassembler/sample.cpp.php

6
mod_disassembler/sample.cpp.php

@ -176,13 +176,13 @@ function f1($f)
{
echo __FUNCTION__;
echo $f;
#if PHP_VERSION > 550
#if PHP_VERSION >= 550
foreach ($a as $b) {
yield($b);
yield $b;
}
yield($f);
yield f1($b);
#endif
}
#if PHP_VERSION >= 500

Loading…
Cancel
Save