[Phplib-trackers] [ phplib-Bugs-571314 ] zend 2.0/PHP 4.3 breaks functions
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2002-06-19 20:46:21
|
Bugs item #571314, was opened at 2002-06-19 13:46 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=571314&group_id=31885 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Daniel Bondurant (bondu) Assigned to: Nobody/Anonymous (nobody) Summary: zend 2.0/PHP 4.3 breaks functions Initial Comment: Zend 2.0 changes the way classes are handled. http://www.php.net/ZEND_CHANGES.txt first problem that sticks out it delele() can no longer be a function name. delete() is a functions in session.inc and sessions4.inc from the change long * Forced deletion of objects. The Zend Engine 1.0 had no means to force deletion of an object if there are still references to it. The newly introduced delete statement calls the object's destructor and frees it even if the object is referenced by some other places in the engine. Other references to the deleted object become stale and trying to access them results in a fatal error. Note that if you have a user-defined function delete() in an old script, this script will yield a parser error with the Zend Engine 2.0, since 'delete' is now a reserved word. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=571314&group_id=31885 |