llaville/php-compat-info — pull request #42 by vrana (2012-06-20 07:37:36+00:00)
Title: Remove parameter versions from scandir()

I've checked PHP Manual, PHP changelog and examined the function with reflection in PHP 5.2. There's no evidence that this parameter was added later.