cvs: ZendEngine2 / zend_API.c
| From: | Marcus Boerger | Date: | Wed, 29 Sep 2004 20:24:36 +0000 |
| Subject: | cvs: ZendEngine2 / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3061@lists.php.net to get a copy of this message | ||
helly Wed Sep 29 16:24:36 2004 EDT
Modified files:
/ZendEngine2 zend_API.c
Log:
- Refix the fix
# This somehow got lost and was then readded by Andi in 1.258 at the wrong
# position. Obviously we need to separate the argument first and convert it
# afterwards as done in 5.0.*.
http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.266&r2=1.267&ty=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.266 ZendEngine2/zend_API.c:1.267
--- ZendEngine2/zend_API.c:1.266 Tue Sep 28 18:55:22 2004
+++ ZendEngine2/zend_API.c Wed Sep 29 16:24:35 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.c,v 1.266 2004/09/28 22:55:22 helly Exp $ */
+/* $Id: zend_API.c,v 1.267 2004/09/29 20:24:35 helly Exp $ */
#include "zend.h"
#include "zend_execute.h"
@@ -338,9 +338,9 @@
*pl = Z_STRLEN_PP(arg);
break;
case IS_OBJECT: {
+ SEPARATE_ZVAL_IF_NOT_REF(arg);
if (Z_OBJ_HANDLER_PP(arg, cast_object)
&& Z_OBJ_HANDLER_PP(arg, cast_object)(*arg, *arg, IS_STRING, 0 TSRMLS_CC) ==
SUCCESS) {
- SEPARATE_ZVAL_IF_NOT_REF(arg);
*pl = Z_STRLEN_PP(arg);
*p = Z_STRVAL_PP(arg);
break;