note 79344 deleted from control-structures.foreach by danbrown
| From: | danbrown@php.net | Date: | Tue, 28 Apr 2009 13:03:17 +0000 |
| Subject: | note 79344 deleted from control-structures.foreach by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153904@lists.php.net to get a copy of this message | ||
Note Submitter: chris at deskpro dot com
----
I would suggest that people making distributable scripts do not rely on foreach working on a copy.
People using some opcode caches (or script encoding like ioncube) appear to break this. While this
is a bug in the opcode cache, it might be prudent to not rely on this 'feature'.