If you, like me, prefer Komodo IDE for PHP development, you may have noticed that superglobals ($_GET, $_POST, etc) are absent from "Superglobals" tab in debug window. If you have this problem, update to the latest PECL version of XDebug:
sudo pecl update xdebug
Superglobal will magically appear. Do not forget to restart Apache:
sudo apachectl restart
The right command is:
ReplyDeletesudo pecl upgrade xdebug
But with PHP 5.3.1 and XDebug 2.0.5 all varialbles in local score were displayed as uninitialized.
ReplyDeleteUsing the beta version [1] of XDebug fix this issue.
[1] http://www.xdebug.org/download.php
Stefano
Thanks for additions :)
ReplyDelete