Quick actions

cmd+k|ctrl+k

Navigation

Languages

test_scandir

Snippet info

Language

Php

Visibility

public

Author

fenghestudio

Created

2019-09-14T09:59:06Z

Updated

2019-09-14T09:59:06Z

<?php

$dir    = '/tmp';

$files1 = scandir($dir);

$files2 = scandir($dir, 1);

print_r($files1);

print_r($files2);

?>
INFO