NYCPHP Meetup

NYPHP.org

[nycphp-talk] FirePHP

Che Hodgins chehodgins at gmail.com
Tue May 5 13:40:58 EDT 2009


On Tue, May 5, 2009 at 1:19 PM, Chris Snyder <chsnyder at gmail.com> wrote:
> I finally got on the ball with FirePHP, and I think I understand it
> except... where is the output of FirePHP::dump() supposed to be?
>
> I can see messages and traces, but when I call dump nothing happens.
> Just me? What is dump supposed to do, exactly?

As per the documentation:

"You can dump a variable to the Server tab of the Firebug Request
Inspector. To get to the Request Inspector expand a request in the
Console or Net panels."

In firebug go to the "net" tab and look at the response headers for a
given request.

Che

>
> <?php
> include_once( 'FirePHPCore/FirePHP.class.php' );
> function debug() {
>  $args = func_get_args();
>  $firephp = FirePHP::getInstance(true);
>  $firephp->log( $args );
>  $firephp->dump( 'args', $args );
>  $firephp->trace( "Trace" );
>  exit();
>  }
>
>
> Chris Snyder
> http://chxor.chxo.com/
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php
>



More information about the talk mailing list