I use PHP 7.4.26 with Xdebug 3.1.1, Apache/2.4.41 (Ubuntu) and PhpStorm as a client.
In the xdebug log file I see that any variable I use in my PHP script come as 'uninitialized'
So whatever my script contains I receive only 4 variables $_COOKIE
, $_GET
, $_REQUEST
, $_SERVER
.
My Xdebug settings:
zend_extension=xdebug.so
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.discover_client_host = false
xdebug.client_host = 127.0.0.1
xdebug.client_port = 9000
xdebug.log=/xdebug.log