Generating URL’s with the PHP Crawler:
Depending on the PHP version on source site and installation site results will vary.

Generating URL’s with the visual selector:
Works best on site maps and blogs, Select one link on site map or blog archive page and it will automatically gather all links.

If the PHP crawler and the visual selector does not meet your needs, we recommend trying Spider: ( free version )
https://www.screamingfrog.co.uk/seo-spider/