After upgrading to Xdebug 3 on Ubuntu I see following error message in console after each script execution from command line:
Xdebug: [Config] The setting 'xdebug.collect_params' has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.collect_params (See: https://xdebug.org/docs/errors#CFG-C-REMOVED)
I haven't this setting anywhere in php.ini or xdebug.ini files
PHP verison:
PHP 8.0.0 (cli) (built: Nov 27 2020 12:26:05) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies with Zend OPcache v8.0.0, Copyright (c), by Zend Technologies with Xdebug v3.0.1, Copyright (c) 2002-2020, by Derick Rethans
Issue also can be reproduced on php 7.4 and on by other devs
I've found ini_set('xdebug.collect_params', 3) in core file of outdated Kohana framework that used on my project.
ini_set('xdebug.collect_params', 3)
I removed this default setting from code
1.4m articles
1.4m replys
5 comments
57.0k users