|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36 Win32 binary GPF's when using an empy array
Submitted: 1998-02-04 21:49 UTC Modified: 1998-02-24 13:44 UTC
From: a dot hacker at clear dot net dot nz Assigned:
Status: Closed Package: Parser error
PHP Version: 3.0b4 OS: Win95
Private report: No CVE-ID: None
 [1998-02-04 21:49 UTC] a dot hacker at clear dot net dot nz
The latest Win32 compile dies when running a script which includes an empty array err thing :)
This does it

$crashme[] = file("text.txt");

and so does this
$crashme[] = count($filename);

But just using $crashme works fine.

I picked these up when porting Travis Ortlieb's live chat script to PHP3. I can forward the GPF message through if required.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-24 13:44 UTC] shane
I just checked this.  It has either been fixed, or is not reproducable.


 [2010-10-14 08:12 UTC]
Automatic comment from SVN on behalf of cataphract
Log: - Warn that using the ENT_IGNORE flag in htmlentities/htmlspecialchars may introduce security
  vulnerabilities. See Unicode Technical Report #36, section 3.6.2.
 [2020-02-06 14:22 UTC]
Automatic comment from SVN on behalf of nikic
Log: Remove the incorrect pattern &quot;...&quot; in glob()

Patch by colshrapnel.

Closes php/doc-en#36.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 14 07:01:29 2024 UTC