[wp-trac] [WordPress Trac] #3354: PHP 5.2 & Fatal error in cache.php

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 8 17:22:12 UTC 2010


#3354: PHP 5.2 & Fatal error in cache.php
--------------------------+-------------------------------------------------
 Reporter:  pulponair     |        Owner:  ryan  
     Type:  defect (bug)  |       Status:  closed
 Priority:  normal        |    Milestone:  2.2   
Component:  General       |      Version:  2.1.3 
 Severity:  normal        |   Resolution:  fixed 
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by hakre):

 Replying to [comment:21 ryan]:
 > [4686] tries some of the __destruct tricks.

 Maybe the trick here was that while using register_shutdown_function the
 object will never be destroyed because the callback still uses it (and
 therefore it will exist until the very end of the script).

 {{{Return true;}}} on a {{{__destruct()}}} magic function does nothing as
 far as I know.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/3354#comment:43>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list