helly Sun Feb 5 23:26:55 2006 UTC
Modified files:
/ZendEngine2 zend.h zend_compile.c zend_compile.h zend_execute.c
zend_interfaces.c zend_interfaces.h zend_iterators.h
zend_vm_def.h zend_vm_execute.h
Log:
- Disallow foreach($v as &$ref) when $v is an object that implements
interface Iterator. The signature of Iterator::current() doesn't allow
that. Maybe ppl also want IteratorByReference or similar. Unfortunatley
this comes with an API change but there is no easier way.
helly-20060205232655.txt
Description: Text document
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|