|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32243 i am trying to search a dir
Submitted: 2005-03-09 05:57 UTC Modified: 2005-03-09 07:03 UTC
From: darkjedi3 at gmail dot com Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: windows xp
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: darkjedi3 at gmail dot com
New email:
PHP Version: OS:


 [2005-03-09 05:57 UTC] darkjedi3 at gmail dot com
im am trying to search a dir, then spit out the files or whatever. i might not be able to search the dir though.

Reproduce code:
//this script searchs C
print("<html>Files in C:\<br><br>");
$filesInC = scandir("C:\");
$numOfFilesInC = count($filesInC);
$i = 0;
print("$i. $filesInC[$i]<br>");

Expected result:
Files in C:\

documents and settings
program files

Actual result:
Parse error: parse error, unexpected T_VARIABLE in /drive2/fpgshttpd/darkjedi3/Anti-Virus/open.php on line 9


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-09 07:03 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Even if you think it is not a bug, we often know better than you,
please consult the support channels first before even considering
to reopen this report.

Thank you for your interest in PHP.

This is not a bug. Contact with your issue.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 10 14:05:44 2022 UTC