On Thu, 24 Nov 2011 22:44:46 -0000, Yasuo Ohgaki <yohg...@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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php