cvs: php-src /ext/standard var.c

From: Date: Thu, 05 Feb 2004 09:07:46 +0000
Subject: cvs: php-src /ext/standard var.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-26037@lists.php.net to get a copy of this message
stas Thu Feb 5 04:07:46 2004 EDT Modified files: /php-src/ext/standard var.c Log: fix serialization http://cvs.php.net/diff.php/php-src/ext/standard/var.c?r1=1.181&r2=1.182&ty=u Index: php-src/ext/standard/var.c diff -u php-src/ext/standard/var.c:1.181 php-src/ext/standard/var.c:1.182 --- php-src/ext/standard/var.c:1.181 Tue Feb 3 09:12:58 2004 +++ php-src/ext/standard/var.c Thu Feb 5 04:07:46 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.181 2004/02/03 14:12:58 stas Exp $ */ +/* $Id: var.c,v 1.182 2004/02/05 09:07:46 stas Exp $ */ /* {{{ includes @@ -554,12 +554,13 @@ smart_str_appendl(buf, "R:", 2); smart_str_append_long(buf, *var_already); smart_str_appendc(buf, ';'); + return; } else if(Z_TYPE_PP(struc) == IS_OBJECT) { smart_str_appendl(buf, "r:", 2); smart_str_append_long(buf, *var_already); smart_str_appendc(buf, ';'); + return; } - return; } switch (Z_TYPE_PP(struc)) {

« previous php.cvs (#26037) next »