--TEST-- FPM: Buffered worker output plain log with msg with flush split in buffer --SKIPIF-- --FILE-- start(); $tester->expectLogStartNotices(); $tester->request()->expectEmptyBody(); $lines = $tester->getLogLines(2); var_dump($lines[0] === str_repeat('a', 1021) . "\0f\n"); var_dump($lines[1] === "abc\n"); $tester->terminate(); $tester->expectLogTerminatingNotices(); $tester->close(); ?> Done --EXPECT-- bool(true) bool(true) Done --CLEAN--