RTFM, Sorry. Was: Re: Assoc Array => Object

From: Date: Wed, 14 Jul 1999 22:04:03 +0000
Subject: RTFM, Sorry. Was: Re: Assoc Array => Object
Groups: php.dev 
Request: Send a blank email to php-dev+get-8510@lists.php.net to get a copy of this message
I am not having a good day. ----- Original Message ----- From: Brian Moon <brian@phorum.org> To: php-dev <php-dev@lists.php.net> Sent: Wednesday, July 14, 1999 4:59 PM Subject: Assoc Array => Object > 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 (#8510) next »