Re: Inconsistencies in 5.3

From: Date: Wed, 13 Aug 2008 18:25:12 +0000
Subject: Re: Inconsistencies in 5.3
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.internals 
Request: Send a blank email to internals+get-39925@lists.php.net to get a copy of this message
Hi!
As far as I understood the discussion, it was related to OP code caches. The opcode result from this snippet ... <?php namespace Foo; class Bar { public function includeFile() {
     require_once 'file.php';
} } ... is not the same as the opcode result from the following: <?php class Bar { public function includeFile() {
       require_once 'file.php';
} }
These will generate identical opcodes except that the class name in the former snippet would be Foo::Bar of course. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#39925) next »