Reputation: 34229
I read from the php documentation that since 5.1.0 scandir() is by default not usable in php.
How can i enable it?
Upvotes: 1
Views: 586
Reputation: 92752
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.)
Upvotes: 2