You want to write PHP code that lists all files in a directory 'uploads' and prints their sizes only if they are readable files. Which code snippet correctly does this?
hard📝 Application Q9 of 15
PHP - File Handling
You want to write PHP code that lists all files in a directory 'uploads' and prints their sizes only if they are readable files. Which code snippet correctly does this?