Re: cvs: php4 /ext/standard var.c
| From: | derick@php.net | Date: | Thu, 14 Mar 2002 14:15:48 +0000 |
| Subject: | Re: cvs: php4 /ext/standard var.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-10117@lists.php.net to get a copy of this message | ||
On Thu, 14 Mar 2002, Wez Furlong wrote:
> void php_var_dump(zval **struc, int level TSRMLS_DC)
> {
> - HashTable *myht;
> + HashTable *myht = NULL;
> zend_object *object = NULL;
>
> if (level > 1) {
> @@ -103,7 +103,6 @@
> myht = Z_OBJPROP_PP(struc);
> php_printf("%sobject(%s)(%d) {\n", COMMON, Z_OBJCE_PP(struc)->name,
> zend_hash_num_elements(myht));
> head_done:
> - myht = Z_ARRVAL_PP(struc);
Are you very sure that's correct? I don't think it is :)
Derick
-----------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Site Resource Manager - www.vl-srm.net
-----------------------------------------------------------------------