ID:               50860
 Updated by:       [email protected]
 Reported By:      balazs at obiserver dot hu
-Status:           Open
+Status:           Bogus
-Bug Type:         Unknown/Other Function
+Bug Type:         Program Execution
 Operating System: Debian Linux
 PHP Version:      5.2.12
 New Comment:

Thank you for not searching the bug database. This has already been
reported and fixed:

  http://bugs.php.net/bug.php?id=50732




Previous Comments:
------------------------------------------------------------------------

[2010-01-27 12:35:42] balazs at obiserver dot hu

Description:
------------
Special characters, when exec() return duplicated last line:
( ) [ ] { }


Reproduce code:
---------------
unset($output);
exec('echo "("', $output, $retval);
var_dump($output);


Expected result:
----------------
array(1) {
  [0]=>
  string(1) "("
}


Actual result:
--------------
array(2) {
  [0]=>
  string(1) "("
  [1]=>
  string(1) "("
}



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50860&edit=1

Reply via email to