Re: WDDX

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: WDDX
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-3368@lists.php.net to get a copy of this message
> It's not a bug (it's not a feature either), but in its current incarnation > it requires (and assumes) an associative array at the top (this could be made > more flexible by changing one line, but read on) Hrm.. Ok, after looking more closely at the code I did realize I need an associative array. However, a set of wrong arguments to the function should not cause a core dump. If this thing is going to require an associative array there should be a check to make sure the argument is actually an associative array. > The short form is faster to write, easier to read and faster to debug. However > it creates certain restrictions (e.g. different variable names in WDDX/PHP) > which cannot be easily resolved. The issue to resolve would be figuring out the actual variable names, I gather. And that isn't inherently obvious how we would do that right now without some low-level changes to actually include the variable name in the pval struct. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3368) next »