note 130004 added to function.glob

From: Date: Sat, 01 Feb 2025 10:50:51 +0000
Subject: note 130004 added to function.glob
Groups: php.notes 
Request: Send a blank email to php-notes+get-221822@lists.php.net to get a copy of this message
Files from the directory and its subdirectories (one level): <?php $files = glob('./path/parts/{*,*/*}.txt', GLOB_BRACE); ?> Two levels: <?php $files = glob('./path/parts/{*,*/*,*/*/*}.txt', GLOB_BRACE); ?> ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.5.137 (proxied: 178.17.2.163) ---- Manual Page -- https://php.net/manual/en/function.glob.php Edit -- https://main.php.net/note/edit/130004 Del: integrated -- https://main.php.net/note/delete/130004/integrated Del: useless -- https://main.php.net/note/delete/130004/useless Del: bad code -- https://main.php.net/note/delete/130004/bad+code Del: spam -- https://main.php.net/note/delete/130004/spam Del: non-english -- https://main.php.net/note/delete/130004/non-english Del: in docs -- https://main.php.net/note/delete/130004/in+docs Del: other reasons-- https://main.php.net/note/delete/130004 Reject -- https://main.php.net/note/reject/130004 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221822) next »