Description
The following code:
<?php
ini_set('error_log', null);
// or
ini_set('error_log', '')
Resulted in this output:
ini_set(): open_basedir restriction in effect. File() is not within the allowed path(s): (/builds/...:/tmp)
But I expected this output instead:
no error, error_log
php.ini unset/set to null
as when not configured at all, null
is default value according to the docs [1]
[1] https://www.php.net/manual/en/errorfunc.configuration.php
PHP Version
Operating System
linux, any