cvs: /php4/ext/standard array.c

From: Date: Wed, 29 Mar 2000 12:43:43 +0000
Subject: cvs: /php4/ext/standard array.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-12793@lists.php.net to get a copy of this message
sterling Wed Mar 29 04:43:43 2000 EDT Modified files: /php4/ext/standard array.c Log: #yikes stripes, didn't see that one #its time to go to bed Re-fixed return value of min and max Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.35 php4/ext/standard/array.c:1.36 --- php4/ext/standard/array.c:1.35 Wed Mar 29 03:19:01 2000 +++ php4/ext/standard/array.c Wed Mar 29 04:43:13 2000 @@ -685,8 +685,7 @@ if (argc<=0) { php_error(E_WARNING, "min: must be passed at least 1 value"); - var_uninit(return_value); - RETURN_FALSE; + RETURN_NULL(); } if (argc == 1) { pval **arr; @@ -737,8 +736,7 @@ if (argc<=0) { php_error(E_WARNING, "max: must be passed at least 1 value"); - var_uninit(return_value); - RETURN_FALSE; + RETURN_NULL(); } if (argc == 1) { pval **arr;

« previous php.version4 (#12793) next »