diff -Naur eaccelerator-0.9.5/ChangeLog eaccelerator-0.9.5.oden/ChangeLog --- eaccelerator-0.9.5/ChangeLog 2006-10-11 14:45:52.000000000 +0200 +++ eaccelerator-0.9.5.oden/ChangeLog 2007-01-12 17:29:07.000000000 +0100 @@ -1,3 +1,7 @@ +2006-07-28 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> + + * Restore the class entry of zend_property_info when using php 5.2, this fixes bug #151 + 2006-10-10 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> * Fix a bug in the ttl of the cache. see ticket #182 diff -Naur eaccelerator-0.9.5/ea_restore.c eaccelerator-0.9.5.oden/ea_restore.c --- eaccelerator-0.9.5/ea_restore.c 2006-10-11 14:45:52.000000000 +0200 +++ eaccelerator-0.9.5.oden/ea_restore.c 2007-01-12 17:29:07.000000000 +0100 @@ -714,6 +714,9 @@ to->doc_comment_len = 0; to->doc_comment = NULL; #endif +#ifdef ZEND_ENGINE_2_2 + to->ce = EAG(class_entry); +#endif #endif return to; } @@ -952,7 +955,6 @@ #ifdef DEBUG EAG(xpad)--; #endif - return to; }