[Phplib-trackers] [ phplib-Bugs-571314 ] zend 2.0/PHP 4.3 breaks functions
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2002-09-25 18:06:42
|
Bugs item #571314, was opened at 2002-06-19 15:46 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403611&aid=571314&group_id=31885 >Category: Session Group: None Status: Open >Resolution: Postponed 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. ---------------------------------------------------------------------- >Comment By: Chris Johnson (chaska) Date: 2002-09-25 13:06 Message: Logged In: YES user_id=279065 This is easy to change in the PHPLIB code to fix, but anybody upgrading will find their existing applications which use the session delete method failing. Thus, we need to carefully schedule this change into the release cycle so that it is part of a major release, where users upgrading have a good expectation of having to modify their code to use the new PHPLIB. Documentation will also need to be changed in concert with this change. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=403611&aid=571314&group_id=31885 |