I call php from the commandline, with the -c argument to load another php.ini file, like this:
php -c my_ini_file.ini test.php
So in disabled_functions I added the echo function.
In test.php, echo works, and I don’t know why. phpinfo() shows echo as a disabled function.
Echo is not a function, it is a built-in command. It cannot be disabled.