Re: [PHP] Re: Object Array?

2006-05-18 Thread Richard Lynch
On Thu, May 18, 2006 2:18 pm, Daniel Orner wrote: > Try using var_dump rather than print_r... maybe it'll give you more > accurate data (e.g. to figure out if it's an object, as Rob said, or > an > array). Or not, as it seems to not be very helpful when the object is an "iterator" whatever t

Re: [PHP] Re: Object Array?

2006-05-18 Thread Jay Paulson
This keeps getting stranger and stranger. I did the var_dump and I got this for R: ["R"]=> array(10) { So it's an array but when I pass it through is_array it says it's not an array. However, when I pass it through is_object it says it's an object?! On 5/18/06 2:18 PM, "Daniel Orner" <[EM

[PHP] Re: Object Array?

2006-05-18 Thread Daniel Orner
Try using var_dump rather than print_r... maybe it'll give you more accurate data (e.g. to figure out if it's an object, as Rob said, or an array). --Daniel Jay Paulson wrote: I tried with no success yesterday to get an answer to this question so I'll try again. I have an object from using