|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53914 SPL assumes HAVE_GLOB is defined
Submitted: 2011-02-02 23:58 UTC Modified: 2011-02-04 11:50 UTC
From: Assigned: aharvey
Status: Closed Package: SPL related
PHP Version: 5.3.5 OS: All
Private report: No CVE-ID:
 [2011-02-02 23:58 UTC]
SPL should not assume HAVE_GLOB is defined. See bug #53913 for

This bug has some SPL changes that allow PHP to link.  A patch against
5.3 for standard/basic_functions.c and streams/plain_wrapper.c is
attached to bug #53913.  Patches from both bugs are required.
Props to Johannes for initiating the patches.

To test, configure PHP and then #undef HAVE_GLOB in main/php_config.h


glob_spl.diff.txt (last revision 2011-02-02 22:58 UTC) by sixd)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-04 10:52 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2011-02-04 11:49 UTC]
Automatic comment from SVN on behalf of aharvey
Log: Fix bug #53914 (SPL assumes HAVE_GLOB is defined). Original patch by Chris
Jones; test updates by myself.
 [2011-02-04 11:50 UTC]
-Status: Assigned +Status: Closed
 [2011-02-04 11:50 UTC]
This bug has been fixed in SVN.

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.

Thanks for the patches, Chris!
PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Thu Nov 26 01:01:34 2015 UTC