Re: [PHP] Array of objects

2005-05-06 Thread Jochem Maas
Thomas Hochstetter wrote: Spiraleye.Studios Hi there, I need help with arrays. What I want to do is to have an array of the following structure: $mod=array( name=new NameObject()); ^ -- looks like your single quotes got mangled in my email client. class Test { function Test($str

Re: [PHP] Array of objects

2005-05-06 Thread Jochem Maas
-general@lists.php.net Subject: Re: [PHP] Array of objects Thomas Hochstetter wrote: Spiraleye.Studios Hi there, I need help with arrays. What I want to do is to have an array of the following structure: $mod=array( 'name'=new NameObject()); ^ -- looks like your single quotes got

RE: [PHP] Array of objects

2005-05-06 Thread Thomas Hochstetter
Thanks, will do ;-) (as of this mail) -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: 06 May 2005 03:08 PM To: Thomas Hochstetter Cc: [php] PHP General List Subject: Re: [PHP] Array of objects Thomas Hochstetter wrote: Hi Jochem, Thanks for that. The eval story