php-src/ext/standard/tests/general_functions/bug49847.phpt

13 lines
4.2 KiB
Plaintext
Raw Normal View History

--TEST--
Bug #49847 (exec() fails on lines larger then 4095 bytes)
--FILE--
<?php
exec("printf %4098d 1", $output);
var_dump($output);
?>
--EXPECT--
array(1) {
[0]=>
string(4098) "
}