php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3867 Exec() no longer returns the command output line
Submitted: 2000-03-18 20:24 UTC Modified: 2000-03-20 02:03 UTC
From: mlemos at acm dot org Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.15 OS: Linux RH 6.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mlemos at acm dot org
New email:
PHP Version: OS:

 

 [2000-03-18 20:24 UTC] mlemos at acm dot org
The Exec() command no longer returns the command output line
like it used to until the version 3.0.14. Try this:

<?

echo Exec("pwd"),"\n";

?>

This bug also shows in PHP 4.0b4pl1 .

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-20 02:03 UTC] rasmus at cvs dot php dot net
Fixed in 3.0.16-dev, and I can't reproduce it in current PHP 4 cvs.  The
code looks fine there.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 00:00:02 2026 UTC