[php-src] PR #13786: Fix GH-13563: Setting bool values via env in FPM config fails
| From: | bukka | Date: | Fri, 22 Mar 2024 13:11:46 +0000 |
| Subject: | [php-src] PR #13786: Fix GH-13563: Setting bool values via env in FPM config fails | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25517@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13786
Author: bukka
This is a fix for GH-13563 . It is caused by the fact that env vars are always passed as strings and
it is evaluated after the ini scanning. Currently only "1" and "" are valid
boolean strings which is not very useful if passed from environment variable. This adds extra check
to allow other string to be parsed as boolean.