note 26098 added to function.glob

From: Date: Thu, 17 Oct 2002 23:03:22 +0000
Subject: note 26098 added to function.glob
Groups: php.notes 
Request: Send a blank email to php-notes+get-38223@lists.php.net to get a copy of this message
Since this function is a wrapper for the OS function of the same name, you may find it helpful to look at the man page while the exact PHP implementation is sorted out. You might have some luck passing in the literal values of the constants defined in /usr/include/glob.h. For example, GLOB_NOSORT is defined as (1 << 2), which is 4. In PHP, glob('*.php', 4) will returns an unsorted list for me in RH 7.x. YMMV. -- http://www.php.net/manual/en/function.glob.php http://master.php.net/manage/user-notes.php?action=edit+26098 http://master.php.net/manage/user-notes.php?action=delete+26098 http://master.php.net/manage/user-notes.php?action=reject+26098

« previous php.notes (#38223) next »