summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/bug50732.phpt
blob: e036b47ed66d088e9c68ed3a90a02df8d403a078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--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"
}
--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"
}
--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"
}