Annotation of embedaddon/php/ext/standard/tests/strings/007.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: php_strip_whitespace() and output buffer
3: --SKIPIF--
4: <?php if( substr(PHP_OS, 0, 3) == "WIN") die('skip Non windows test');?>
5: --INI--
6: log_errors_max_len=4096
7: --FILE--
8: <?php
9: $file = str_repeat("A", PHP_MAXPATHLEN - strlen(__DIR__ . DIRECTORY_SEPARATOR . __FILE__));
10:
11: var_dump(php_strip_whitespace($file));
12: var_dump(ob_get_contents());
13:
14: ?>
15: ===DONE===
16: --EXPECTF--
17: Warning: php_strip_whitespace(%s): failed to open stream: File name too long in %s007.php on line %d
18: string(0) ""
19: bool(false)
20: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>