Bug #65325 [Fbk->NoF]: function glob malfunction
| From: | ab@php.net | Date: | Wed, 14 Aug 2013 06:59:00 +0000 |
| Subject: | Bug #65325 [Fbk->NoF]: function glob malfunction | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-180908@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65325&edit=1
ID: 65325
Updated by: ab@php.net
Reported by: jacob at prodemge dot gov dot br
Summary: function glob malfunction
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: *Directory/Filesystem functions
Operating System: Linux appgmo 2.6.32-220.el6.x86_
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2013-07-29 18:25:21] ab@php.net
Just calling glob() doesn't reproduce this for me. There must be something special
involved, could you find out what that is? Maybe access right, high load, beyond
... please check again and give a way to repro this.
------------------------------------------------------------------------
[2013-07-24 14:45:39] jacob at prodemge dot gov dot br
Description:
------------
---
From manual page: http://www.php.net/function.glob#refsect1-function.glob-
returnvalues
---
// /produtos/web/SOAP/wsdl/class.phpwsdl*.php
$files=glob(dirname(__FILE__).'/'.'class.phpwsdl*.php');
not reached -> echo "files ";print_r($files);echo "<br>";
if($files!==false){
$i=-1;
$len=sizeof($files);
while(++$i<$len){
self::Debug('Load '.$files[$i]);
require_once($files[$i]);
}
}else{
self::Debug('"glob" failed');
}
Test script:
---------------
$files=glob(dirname(__FILE__).'/'.'class.phpwsdl*.php');
echo "files ";print_r($files);echo "<br>";
if($files!==false){
$i=-1;
$len=sizeof($files);
while(++$i<$len){
self::Debug('Load '.$files[$i]);
require_once($files[$i]);
}
}else{
self::Debug('"glob" failed');
}
Expected result:
----------------
a list of files
Actual result:
--------------
the control never return to script
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65325&edit=1