| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2005-07-06 22:51 UTC] derick@php.net
  [2005-07-06 22:58 UTC] bugz at nagash dot org
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 12:00:01 2025 UTC | 
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