Re: 5.4 regression: non-existent sub-sub keys now have values
| From: | Gustavo Lopes | Date: | Thu, 24 Nov 2011 22:50:13 +0000 |
| Subject: | Re: 5.4 regression: non-existent sub-sub keys now have values | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56604@lists.php.net to get a copy of this message | ||
On Thu, 24 Nov 2011 22:44:46 -0000, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
find ../php-src-5.3/Zend/ -name "*.[ch]" | xargs grep -n "Cannot use string offset as an array" | wc -l111 I thought there are much less lines to raise notice for string offset access, but it isn't. It almost everywhere in vm. Now I understand the reason why Stats and Rusmus cares about decreased performance with notices.This is just due to opcode handler specialization. In the source code there are 7 instances in 5.4 and 10 in 5.3. -- Gustavo Lopes