Assoc Array => Object

From: Date: Wed, 14 Jul 1999 21:59:49 +0000
Subject: Assoc Array => Object
Groups: php.dev 
Request: Send a blank email to php-dev+get-8509@lists.php.net to get a copy of this message
I just saw this in the mysql code. if (return_value->type==IS_ARRAY) { return_value->type=IS_OBJECT; } This seems to say that converting a variable from an array to an object would be very easy. Could a function be made that simply changed an array to an object? Brian Moon ------------------------------------------------------------------------- Phorum Dev Team - http://www.phorum.org Making better forums with PHP -------------------------------------------------------------------------

« previous php.dev (#8509) next »