mirror of
https://github.com/php/php-src.git
synced 2024-10-04 16:26:13 +00:00
13 lines
179 B
PHP
13 lines
179 B
PHP
--TEST--
|
|
Bug #50732 (exec() adds single byte twice to $output array)
|
|
--FILE--
|
|
<?php
|
|
exec("echo x", $output);
|
|
var_dump($output);
|
|
?>
|
|
--EXPECT--
|
|
array(1) {
|
|
[0]=>
|
|
string(1) "x"
|
|
}
|