|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
???, Version 4.0 Release Candidate 1
+- serialize()/unserialize() now call __sleep() and __wakeup() when
+ working on objects. (Thies)
- Fixed a bug in the third argument to define()
- Added is_numeric() that returns true if the argument is a number
or a numeric string. (Andrei)
-- serialize()/unserialize() now call _sleep_() and _wakeup_() when
- working on objects. (Thies)
- renamed to_string() method to _string_value_() for consistency.
(Thies, Zend library)
- domxml now supports libxml 2.0 Beta and drops support for older versions,
CLS_FETCH();
MAKE_STD_ZVAL(fname);
- ZVAL_STRING(fname,"_sleep_",1);
+ ZVAL_STRING(fname,"__sleep",1);
res = call_user_function_ex(CG(function_table), *struc, fname, &retval_ptr, 0, 0, 1);
CLS_FETCH();
MAKE_STD_ZVAL(fname);
- ZVAL_STRING(fname,"_wakeup_",1);
+ ZVAL_STRING(fname,"__wakeup",1);
call_user_function_ex(CG(function_table), *rval, fname, &retval_ptr, 0, 0, 1);