Re: Re: Deeply nested properties

From: Date: Mon, 01 Aug 2005 18:31:57 +0000
Subject: Re: Re: Deeply nested properties
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1507@lists.php.net to get a copy of this message
>> Nesting goes too deep and not too mention many of the properties are >> recursive. > Is there a way to determine at which level we currently are? If yes, it > could be limited to 3 levels or so. Not sanely.... tho' Dmitry killed reversion now: case IS_ARRAY: myht = Z_ARRVAL_PP(struc); if (myht->nApplyCount > 1) { PUTS("*RECURSION*\n"); return; } php_printf("%sarray(%d) {\n", COMMON, zend_hash_num_elements(myht)); php_element_dump_func = php_array_element_dump; goto head_done; case IS_OBJECT: myht = Z_OBJPROP_PP(struc); if (myht && myht->nApplyCount > 1) { PUTS("*RECURSION*\n"); return; } but that's a very recent addition to var.c It's also kinda beside the point, assuming that GTK 2 src hasn't changed its definition of GtkStyle. I just think we shouldn't be treating third-party structs as full objects, and we should be clearer in the manual about which is which. Christian, I've had problems with your list mail since forever, but I only just found it doesn't work properly for reply either. Everything you write comes through as an attachment here. Any solution to that, other than 'change your nazi email client steph'? ----- Original Message ----- From: "Christian Weiske" <cweiske@cweiske.de> To: <php-gtk-dev@lists.php.net> Sent: Monday, August 01, 2005 7:19 PM Subject: Re: [PHP-GTK-DEV] Re: Deeply nested properties

« previous php.gtk.dev (#1507) next »