Changeset 1336 in svn


Ignore:
Timestamp:
2013-07-19T06:57:49Z (2 years ago)
Author:
Xuefer
Message:

devel: fix yield sample for decompile test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_disassembler/sample.cpp.php

    r1335 r1336  
    177177    echo __FUNCTION__;
    178178    echo $f;
    179 #if PHP_VERSION > 550
     179#if PHP_VERSION >= 550
    180180
    181181    foreach ($a as $b) {
    182         yield($b);
    183     }
    184 
    185     yield($f);
     182        yield $b;
     183    }
     184
     185    yield f1($b);
    186186#endif
    187187}
Note: See TracChangeset for help on using the changeset viewer.