1--TEST-- 2FPM: Validates arrays in configuration are correctly set - php_value array must be passed a key 3--SKIPIF-- 4<?php include "skipif.inc"; ?> 5--FILE-- 6<?php 7 8require_once "tester.inc"; 9 10$cfg = <<<EOT 11[global] 12error_log = {{FILE:LOG}} 13pid = {{FILE:PID}} 14[unconfined] 15listen = {{ADDR}} 16php_value[] = E_ALL 17pm = static 18pm.max_children = 5 19EOT; 20 21$tester = new FPM\Tester($cfg); 22$tester->start(['-tt']); 23$tester->expectLogError("\[%s:%d\] You must provide a key for field 'php_value'"); 24 25?> 26Done 27--EXPECT-- 28 29Done 30--CLEAN-- 31<?php 32require_once "tester.inc"; 33FPM\Tester::clean(); 34?> 35