cvs: php-src /ext/spl php_spl.c
| From: | Marcus Boerger | Date: | Sun, 13 Jul 2008 21:38:58 +0000 |
| Subject: | cvs: php-src /ext/spl php_spl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-51057@lists.php.net to get a copy of this message | ||
helly Sun Jul 13 21:38:58 2008 UTC
Modified files:
/php-src/ext/spl php_spl.c
Log:
- Use new helper
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/php_spl.c?r1=1.135&r2=1.136&diff_format=u
Index: php-src/ext/spl/php_spl.c
diff -u php-src/ext/spl/php_spl.c:1.135 php-src/ext/spl/php_spl.c:1.136
--- php-src/ext/spl/php_spl.c:1.135 Sat Jul 12 14:58:06 2008
+++ php-src/ext/spl/php_spl.c Sun Jul 13 21:38:58 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_spl.c,v 1.135 2008/07/12 14:58:06 helly Exp $ */
+/* $Id: php_spl.c,v 1.136 2008/07/13 21:38:58 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -380,9 +380,7 @@
zend_hash_get_current_data_ex(SPL_G(autoload_functions), (void **) &alfi,
&function_pos);
zend_u_call_method(alfi->obj ? &alfi->obj : NULL, alfi->ce, &alfi->func_ptr,
func_name_type, func_name, func_name_len, &retval, 1, zclass_name, NULL TSRMLS_CC);
if (EG(exception)) {
- if (exception) {
- zend_update_property(zend_exception_get_default(TSRMLS_C), EG(exception),
"previous", sizeof("previous")-1, exception TSRMLS_CC);
- }
+ zend_exception_set_previous(exception TSRMLS_CC);
exception = EG(exception);
EG(exception) = NULL;
}