Register $phpconsole as global before it is used.
Register $phpconsole as global before it is used.

In my environment (PHP 5.3.16) I found that if I didn't make the change above I would get errors like this when I tried to use p()
FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function send() on a non-object in ...
phpconsole/phpconsole