how do I search directories and their subdirectories for all files named "index.php" then return their path? (to an array)
PHP
Thank you for Correcting The Record!
nb: the files I need are several folders deep
Delete that picture and I will PM you the solution.
...
fixed it for you
What is everyone's preferred browser? Currently using Waterfox.
Use Symfony's finder component. It's the easiest way.
...
Another solution. Saves them in an array
$lines = array();
exec("find . -name 'index.php'", $lines);
//echo print_r($lines);
Somewhat bored and optimized it a bit.
>PHP
>incompetent
>shits on Trump because le white man is wacist! XD
Pajeet, you have to go back.
He's not racist, he's just a moron. But who am I to go against the will of the burgerland people
Haha, well meme'd fellow Sup Forumslack!
Hello, Pajeet.
Are you sure you're not a PHP programmer?
Because you certainly have the right coding style.
>PHP
Using php in 2016 kek
>Hello, Pajeet.
A Pajeet only uses windows silly. Looks like thinking isn't your strongest suit.
Hillary lost and you only have about 3 weeks left to get packed so you should probably make better use of your fleeting time here paco.
tbqh I never realized how easily the alt-right could be triggered until CTR showed up
Says the dude working a dead end job coding php with an ugly gf (if at all), no friends, fat or skinny fat, who has to ask Sup Forums for the most retarded question ever.
D E S P A I R