Posted by Janwillem Borleffs on 05/28/05 18:19
lkrubner@geocities.com wrote:
> This driving me crazy. I get an array. I use print_r() to prove to
> myself it is an array. An array prints to the screen. The next line is
> an is_array() test, and the code tests false and I get the error
> message, "we could not find the array". What the hell?
>
print_r(array()); output:
Array
(
)
print_r(new stdClass); output:
stdClass Object
(
)
If you see something simular to the latter, test with is_object().
JW
Navigation:
[Reply to this message]
|