ID:               33592
 User updated by:  bugz at nagash dot org
 Reported By:      bugz at nagash dot org
 Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: Linux - Gentoo
 PHP Version:      5.0.4
 New Comment:

but how to name situation when I receive segmentation fault and should
spend time to find where...
in my opinion the best way to help programmers is to write error
description but not to do in the way how it's going on now....


Previous Comments:
------------------------------------------------------------------------

[2005-07-06 22:51:12] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.

------------------------------------------------------------------------

[2005-07-06 22:42:10] bugz at nagash dot org

Description:
------------
When I try to use glob for the same dir using recursion function - I
receive segmentation fault

Reproduce code:
---------------
function func($v) {
    foreach (glob($v, GLOB_ONLYDIR) AS $v) func($v);
}
func('./');

Expected result:
----------------
PHP warning \ fatal \ etc.

Actual result:
--------------
segmentation fault


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33592&edit=1

Reply via email to