dmitry Mon Sep 12 03:14:54 2005 EDT
Modified files:
/php-src/ext/standard var.c
Log:
Fix for exceptions in __sleep()
http://cvs.php.net/diff.php/php-src/ext/standard/var.c?r1=1.213&r2=1.214&ty=u
Index: php-src/ext/standard/var.c
diff -u php-src/ext/standard/var.c:1.213 php-src/ext/standard/var.c:1.214
--- php-src/ext/standard/var.c:1.213 Tue Aug 23 13:22:54 2005
+++ php-src/ext/standard/var.c Mon Sep 12 03:14:54 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: var.c,v 1.213 2005/08/23 17:22:54 andrei Exp $ */
+/* $Id: var.c,v 1.214 2005/09/12 07:14:54 dmitry Exp $ */
@@ -933,7 +933,7 @@
res =
call_user_function_ex(CG(function_table), struc, &fname,
&retval_ptr, 0, 0, 1, NULL TSRMLS_CC);
- if (res == SUCCESS) {
+ if (res == SUCCESS && !EG(exception)) {
if (retval_ptr) {
if
(HASH_OF(retval_ptr)) {
php_var_serialize_class(buf, struc, retval_ptr,
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php