File/Find

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: File/Find
Groups: php.pear 
Request: Send a blank email to php-pear+get-384@lists.php.net to get a copy of this message
Does someone have a working example how to use the File/Find. After upgrading PHP to 4.03pl1 all the it does not seem to work the way it used to be. For example: require('File/Find.php'); $fs = new File_Find; $files = $fs->glob('/.*/', '/tmp/', 'perl'); $nof = count($files); print $nof; allways prints 0, even though there are files in /tmp/. No matter what the regexp is it allways is 0. This used to work earlier. Am I missing something obvious? -- Mika Tuupola http://www.appelsiini.net/~tuupola/

« previous php.pear (#384) next »