Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: max(five, two)?
(Example: nine)

The Note You're Voting On

fengdingbo at gmail dot com
11 years ago
if you want traversal directory。
<?php
foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator("./")) as $key=>$val)
{
echo
$key,"=>",$val,"\n";
}
?>

<< Back to user notes page

To Top