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.
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.