here I share my old code need with each function so now I got this kind of error
each() function is deprecated
my code is
list($k, $v) = each($files);
here I share my old code need with each function so now I got this kind of error
each() function is deprecated
my code is
list($k, $v) = each($files);
 
    
     
    
    You can use foreach statement like :
<?php
foreach($files as $k => $v) {
    // Do some stuffs
}
Foreach works since PHP 4.
