--TEST-- FPM: GH-13563 - conf boolean environment variables values --SKIPIF-- --FILE-- \$val) { if (str_starts_with(\$name, 'FPM_TEST')) { printf("%s: %s\n", \$name, \$val); } } file_put_contents('php://stderr', str_repeat('a', 20) . "\n"); EOT; $tester = new FPM\Tester($cfg, $code); $tester->start(envVars: [ 'FPM_TEST_LOG_BUF' => 'on', 'FPM_TEST_DAEMONIZE' => 'false', 'FPM_TEST_PROC_DUMP' => 'no', 'FPM_TEST_CATCH_WRK_OUT' => 'yes', 'FPM_TEST_DECOR_WRK_OUT' => 'true', 'FPM_TEST_CLEAR_ENV' => 'none', 'FPM_TEST_REQ_TERM_TRACK_FIN' => '0', ]); $tester->expectLogStartNotices(); $tester->request()->expectBody([ 'FPM_TEST_LOG_BUF: on', 'FPM_TEST_DAEMONIZE: false', 'FPM_TEST_PROC_DUMP: no', 'FPM_TEST_CATCH_WRK_OUT: yes', 'FPM_TEST_DECOR_WRK_OUT: true', 'FPM_TEST_CLEAR_ENV: none', 'FPM_TEST_REQ_TERM_TRACK_FIN: 0', ]); $tester->terminate(); $tester->expectLogMessage('a', 1024, 20, true); $tester->close(); ?> Done --EXPECT-- Done --CLEAN--