Graviton
Graviton

Reputation: 83244

FireBug extension to examine PHP variables

We have FireSymfony that allows one to view the Symfony, PHP variables in a firebug panel, so I wonder whether there is a similar extension that allows me to view PHP variables for general PHP apps ( not just Symfony apps)?

Upvotes: 1

Views: 2037

Answers (3)

Mike Buckbee
Mike Buckbee

Reputation: 6983

Another option is Formaldehyde which integrates nicely with Firebug.

Upvotes: 1

Jörg
Jörg

Reputation: 946

You may want to check out FirePHP. It is an extension to FireBug that allows sort of an extended logging of PHP through the Firefox Browser/Firebug Console.

Probably somewhat close to what you are looking for, even though you'd still have to make specific use of it in the PHP scripts.

Upvotes: 8

mauris
mauris

Reputation: 43619

I think that is part of what Symfony supports, exporting PHP variables to client side for debugging.

you see, PHP variables are located on the server, not at the client. Thus when you load the page, you won't be able to see the PHP variables from client side.

Thus if you want to debug PHP variables, you must have a way for your application to export the variables out to the client side for firebug or any other extension to debug.

In other words, it's not really possible for that to happen for ALL php applications.

Upvotes: 2

Related Questions