I read from the php documentation that since 5.1.0 scandir() is by default not usable in php.
How can i enable it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On the documentation page, I don’t see anything to support your claim – the only reference to version is “(PHP 5)”, and
scandir()is a built-in function, so you don’t need an additional extension for it.(Anyway, the docs page has a long list of alternative approaches and/or improvements.)