note 129073 added to configuration.file

From: Date: Mon, 27 Nov 2023 21:12:12 +0000
Subject: note 129073 added to configuration.file
Groups: php.notes 
Request: Send a blank email to php-notes+get-221027@lists.php.net to get a copy of this message
Notice that error_reporting CANNOT be interpolated with an environment variable (e.g. error_reporting = ${PHP_ERROR_REPORTING}). error_reporting is treated differently than other directives: if assigned an environment variable, this will be silently ignored and replaced with value 0 (aka no-reporting). I couldn't find documentation about it. Is maybe an info that should be added in https://github.com/php/php-src/blob/8f5156fcba9906664ecd97e4c279ee980e522121/php.ini-production#L451-L500 ? I am not aware if this specific behavior affects only error_reporting or also other directive. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 2001:4091:a246:83ef:a3f8:af8f:193f:7129) ---- Manual Page -- https://php.net/manual/en/configuration.file.php Edit -- https://main.php.net/note/edit/129073 Del: integrated -- https://main.php.net/note/delete/129073/integrated Del: useless -- https://main.php.net/note/delete/129073/useless Del: bad code -- https://main.php.net/note/delete/129073/bad+code Del: spam -- https://main.php.net/note/delete/129073/spam Del: non-english -- https://main.php.net/note/delete/129073/non-english Del: in docs -- https://main.php.net/note/delete/129073/in+docs Del: other reasons-- https://main.php.net/note/delete/129073 Reject -- https://main.php.net/note/reject/129073 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221027) next »