cvs: php-src(PHP_5_1) /ext/standard array.c
| From: | Ilia Alshanetsky | Date: | Sun, 30 Oct 2005 13:48:33 +0000 |
| Subject: | cvs: php-src(PHP_5_1) /ext/standard array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-34887@lists.php.net to get a copy of this message | ||
iliaa Sun Oct 30 08:48:33 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/standard array.c
Log:
Simplify code.
http://cvs.php.net/diff.php/php-src/ext/standard/array.c?r1=1.308.2.11&r2=1.308.2.12&ty=u
Index: php-src/ext/standard/array.c
diff -u php-src/ext/standard/array.c:1.308.2.11 php-src/ext/standard/array.c:1.308.2.12
--- php-src/ext/standard/array.c:1.308.2.11 Sun Oct 30 08:44:26 2005
+++ php-src/ext/standard/array.c Sun Oct 30 08:48:30 2005
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: array.c,v 1.308.2.11 2005/10/30 13:44:26 iliaa Exp $ */
+/* $Id: array.c,v 1.308.2.12 2005/10/30 13:48:30 iliaa Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -3999,7 +3999,6 @@
if (!zend_hash_num_elements(Z_ARRVAL_PP(input))) {
RETURN_LONG(0);
- return;
}
ZVAL_LONG(return_value, 1);