Closed
Description
Description
The following code:
<?php
var_dump(count(scandir('glob://ext/*')));
chdir("ext");
var_dump(count(scandir('glob://*')));
Resulted in this output:
int(70)
int(0)
But I expected this output instead:
int(70)
int(70)
Plain glob()
doesn't have this issue.
PHP Version
PHP 8.3
Operating System
any