1--TEST--
2php_strip_whitespace() and output buffer
3--SKIPIF--
4<?php if( substr(PHP_OS, 0, 3) != "WIN") die('skip Windows only test');?>
5--INI--
6log_errors_max_len=4096
7--FILE--
8<?php
9$file = str_repeat("A", PHP_MAXPATHLEN - strlen(__DIR__ . DIRECTORY_SEPARATOR . __FILE__));
10
11var_dump(php_strip_whitespace($file));
12var_dump(ob_get_contents());
13
14?>
15--EXPECTF--
16Warning: php_strip_whitespace(%s): Failed to open stream: No such file or directory in %s on line %d
17string(0) ""
18bool(false)
19