1--TEST--
2Bug #70018 (exec does not strip all whitespace)
3--SKIPIF--
4<?php
5if ("cli" != php_sapi_name()) {
6  die("skip.. CLI only test");
7}
8?>
9--FILE--
10<?php
11$output = array();
12
13$test_fl = dirname(__FILE__) . DIRECTORY_SEPARATOR . md5(uniqid());
14file_put_contents($test_fl, '<?php echo "abc\f\n \n";');
15
16exec(PHP_BINARY . " -n $test_fl", $output);
17
18var_dump($output);
19
20@unlink($test_fl);
21?>
22--EXPECT--
23array(2) {
24  [0]=>
25  string(3) "abc"
26  [1]=>
27  string(0) ""
28}
29