cvs: /php4/ext/standard array.c var.c

From: Date: Tue, 04 Jan 2000 13:23:32 +0000
Subject: cvs: /php4/ext/standard array.c var.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-8902@lists.php.net to get a copy of this message
andi Tue Jan 4 08:23:32 2000 EDT Modified files: /php4/ext/standard array.c var.c Log: - Change IS_UNSET -> IS_NULL Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.21 php4/ext/standard/array.c:1.22 --- php4/ext/standard/array.c:1.21 Fri Dec 31 20:31:48 1999 +++ php4/ext/standard/array.c Tue Jan 4 08:22:58 2000 @@ -246,7 +246,7 @@ } target_hash = HASH_OF(*array); if (!target_hash) { - if ((*array)->type == IS_UNSET) { + if ((*array)->type == IS_NULL) { RETURN_LONG(0); } else { RETURN_LONG(1); Index: php4/ext/standard/var.c diff -u php4/ext/standard/var.c:1.44 php4/ext/standard/var.c:1.45 --- php4/ext/standard/var.c:1.44 Sun Jan 2 06:49:27 2000 +++ php4/ext/standard/var.c Tue Jan 4 08:22:58 2000 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.44 2000/01/02 11:49:27 thies Exp $ */ +/* $Id: var.c,v 1.45 2000/01/04 13:22:58 andi Exp $ */ /* {{{ includes @@ -48,7 +48,7 @@ PHPWRITE(&buf[1], i - 1); break; - case IS_UNSET: + case IS_NULL: i = sprintf(buf, "%*cNULL\n", level, ' '); PHPWRITE(&buf[1], i - 1); break; @@ -203,7 +203,7 @@ STR_CAT(buf, s, slen); return; - case IS_UNSET: + case IS_NULL: STR_CAT(buf, "N;", 2); return; @@ -311,7 +311,7 @@ } (*p)++; INIT_PZVAL(*rval); - (*rval)->type = IS_UNSET; + (*rval)->type = IS_NULL; (*p)++; return 1;

« previous php.version4 (#8902) next »