The first two arguments are always $abs_us_root $us_url_root (and probably should have been obtained automatically). The third argument is the folder that you want to retrieve all the php files from. It should end with a trailing '/'
<?php $data = getPathPhpFiles($abs_us_root,$us_url_root,'usersc/scripts/'); ?>
Will return an array of (usually) 10 files. Each item of the array will be an
array with the path of the file in it.