in the past ive done file structure handling in php with opendear readdir etc.
someone told me i should start using glob becasue its better,
on the php site for the glob function
http://us2.php.net/glob
someone posted this
so apparently opendir is faster (by alot)? or did this guy just do a bad test? or are there other reasons to use globfunny enough, but our testing opendir VS glob
show advantage of opendir by speed
0.00115704536438
and
0.0068039894104
or if to pass 200 times
0.210277080536
vs
1.2976038456