php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "scandir"

What version of PHP is required for scandir() to work?

The scandir() function in PHP requires at least PHP version 5.0.0 to work properly. If you are using a version of PHP older than 5.0.0, you will need...

What potential error can occur when using the scandir() function in PHP?

When using the scandir() function in PHP, one potential error that can occur is that it may return false if the specified directory cannot be opened o...

In what scenarios would using scandir() be more efficient than RecursiveDirectoryIterator for directory search operations in PHP?

Scandir() may be more efficient than RecursiveDirectoryIterator for directory search operations in PHP when you only need a list of filenames in a dir...

What is the difference between using scandir and glob functions for file handling in PHP?

The main difference between using scandir and glob functions for file handling in PHP is that scandir returns an array of all files and directories in...

How can the user under which PHP runs affect the results of scandir()?

The user under which PHP runs can affect the results of scandir() because the function will only return directory contents that the user has permissio...

Showing 11 to 15 of 593 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 118 119 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.