I want to be able to remove all non php data from a string / file.
Now this preg_replace line works perfectly:
preg_replace('/\?>.*\<?/', '', $src); // Remove all non php data
BUT... problem is that it works only for the first match and not for all of the string/file...
Small tweak needed here ;)