xref: /PHP-7.3/ext/standard/tests/misc/bug79410.phpt (revision c0840fec)
1--TEST--
2Bug #79410 (system() swallows last chunk if it is exactly 4095 bytes without newline)
3--FILE--
4<?php
5ob_start();
6system(getenv('TEST_PHP_EXECUTABLE') . ' -n -r "echo str_repeat(\".\", 4095);"');
7var_dump(strlen(ob_get_clean()));
8?>
9--EXPECT--
10int(4095)
11