Re: file_exists and wildcard/regex

From: Date: Wed, 10 Dec 2008 07:42:48 +0000
Subject: Re: file_exists and wildcard/regex
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-284403@lists.php.net to get a copy of this message
Ashley Sheridan wrote: > If you're on a Linux system, you could look at ls and the regular > expressions it lets you use with it. You could exec out and get the > returned results. Also, as it's a system call, it should be very > speedy. 'ls' is just a plain binary (/bin/ls), not a system call. The regex functionality is part of the shell, usually bash. /Per Jessen, Zürich

« previous php.general (#284403) next »