note 113422 added to functions.anonymous

From: Date: Tue, 08 Oct 2013 23:10:14 +0000
Subject: note 113422 added to functions.anonymous
Groups: php.notes 
Request: Send a blank email to php-notes+get-196504@lists.php.net to get a copy of this message
Some hosts are installing the eAccelerator opcode cache with PHP 5.4, and current production versions of this opcode cache break closures. If you find that your nice, working closures break when you load your code to a hosted website, check for eAccelerator (e.g. by calling phpinfo() and checking the output). Simple fixes include: * disabling eAccelerator and opcode caching * replacing eAccelerator with Zend's opcache * reverting to PHP 5.3 Apparently, the eAccelerator project has solved this issue, but hosts move slowly so I recommend removing eAccelerator from the equation for now. ---- Server IP: 69.147.83.199 Probable Submitter: 210.1.199.245 ---- Manual Page -- http://php.net/manual/en/functions.anonymous.php Edit -- https://master.php.net/note/edit/113422 Del: integrated -- https://master.php.net/note/delete/113422/integrated Del: useless -- https://master.php.net/note/delete/113422/useless Del: bad code -- https://master.php.net/note/delete/113422/bad+code Del: spam -- https://master.php.net/note/delete/113422/spam Del: non-english -- https://master.php.net/note/delete/113422/non-english Del: in docs -- https://master.php.net/note/delete/113422/in+docs Del: other reasons-- https://master.php.net/note/delete/113422 Reject -- https://master.php.net/note/reject/113422 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#196504) next »