Erik Krause <[email protected]> wrote:

> Yesterday I wondered why some calls caused an empty log. I soon discovered
> that json_encode doesn't handle resources. So I added a special handling
> for resources and output all other types with print_r, which should account
> for most other special cases.


​Interesting; I didn't know json_encode had that limitation, but then I'm
only a fairly basic PHP coder. The only "resources" (externals) I've ever
called were a few file handles. I just found the official PHP List of
Resource Types <http://php.net/manual/en/resource.php>, and I never even
heard of most of them. In fact the list is incomprehensible to me -- no
explanation of what anything means -- and even clicking to go to one
resource type's own manual page is still incomprehensible. (For example, I
have no idea what *cubrid lob2* is, and when I click further its page
says "Create
a lob object." Gee, thanks for clearing that up, guys.)

Anyway, did FirePHP handle resources (little pun there) OK?

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/CAMoMLKj4HdeEMx5%3DHLbDKOSgFpnVGSW3GWD4qCLf3at_HV-9%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to