Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Bug #957 Dataobject find doesn't work with Zend Optimizer (mmcache to)
Submitted: 2004-03-06 09:52 UTC
From: szabo dot denes at internode dot hu Assigned:
Status: No Feedback Package: DB_DataObject
PHP Version: 4.3.4 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-03-06 09:52 UTC] szabo dot denes at internode dot hu
Description: ------------ Dataobject fails when use find() if zend optimizer installed. Reproduce code: --------------- Original code from find( ): $this->N = 0; $tmpcond = $this->_condition; $this->_build_condition($this->table()) ; Patched code: $this->N = 0; $tables = $this->table(); $this->_build_condition($tables) ; Expected result: ---------------- It is working.

Comments

 [2004-03-07 14:24 UTC] alan_k
can you try disabling overloading (see the big warning in the source code / or the manual)
 [2009-07-17 09:44 UTC] transcender (Gregory S. Hoerner Sr.)
This seems to crash with eAccelerator as well. When I have eAccelerator enabled and call find(), PHP returns 0 bytes and logs no errors. When I disable it, everything works as expected. PHP 5.1.6, CentOS 5.2