How to search files in a folder and under a folder with a mask?

How to search files in a folder and under a folder with a mask?Can anybody explain or give a ready-made solution?
June 3rd 19 at 19:11
1 answer
June 3rd 19 at 19:13
Solution
It works with under folders? - mattie_Friese commented on June 3rd 19 at 19:16
offer to experiment - Carter21 commented on June 3rd 19 at 19:19

Find more questions by tags PHP