|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3670 exec don't work as expected
Submitted: 2000-02-29 18:08 UTC Modified: 2000-07-26 14:16 UTC
From: nestor at tiendalinux dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Debian GNU/Linux Potato kernel 2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: nestor at tiendalinux dot com
New email:
PHP Version: OS:


 [2000-02-29 18:08 UTC] nestor at tiendalinux dot com
The function exec, don't work as expected i use the same code in php3 and it always return the stdout of the program, but in php4 it don't work so i have to pass by reference an array , i.e. exec ("program", $array) for this to work, so i think there is a problem with the return value.

Thanks for your great work !!


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-26 14:16 UTC]
exec should never output anything:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 18:01:33 2024 UTC