php-src/ext/standard/tests/general_functions/bug50732.phpt
2010-01-24 14:18:09 +00:00

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"
}