Annotation of embedaddon/php/Zend/tests/closure_022.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Closure 022: Closure properties
                      3: --FILE--
                      4: <?php
                      5: $a = 0;
                      6: $foo = function() use ($a) {
                      7: };
                      8: $foo->a = 1;
                      9: ?>
                     10: --EXPECTF--
                     11: Catchable fatal error: Closure object cannot have properties in %sclosure_022.php on line 5
                     12: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>