|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38558 [patch] run-tests.php: spaces in path
Submitted: 2006-08-23 04:25 UTC Modified: 2006-08-23 12:41 UTC
From: danielc at analysisandsolutions dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5.2.0RC2 OS: Windows 2000
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: danielc at analysisandsolutions dot com
New email:
PHP Version: OS:


 [2006-08-23 04:25 UTC] danielc at analysisandsolutions dot com
run-tests.php doesn't account for spaces in the path to it.  This oversight produces the following errors:

"Could not open input file: c:\Program" (2 times)
"parse error, unexpected $end in Command line code on line 1"

In addition, those errors cause $php_info section from parsing/outputting correctly.  The following patch fixes it.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-23 07:03 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

Committed, thanks.
 [2006-08-23 12:26 UTC] danielc at analysisandsolutions dot com
Thanks for the prompt action, Tony.  Here are patches for 5.1 and 5.0:
 [2006-08-23 12:41 UTC]
Both 5.1 and 5.0 are dead branches.
I'll probably commit it to 5_1, but there is no point in committing it to 5_0.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 30 00:01:24 2023 UTC