|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 06:01:28 2024 UTC