# [RFC] New .phpp File Type for Pure-Code PHP Scripts

- Thread: https://externals.io/message/59998
- Original archive: https://news-web.php.net/php.internals/59998
- Started by Tom Boutell on 2012-04-16T13:09:10+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #59998 — Tom Boutell — 2012-04-16T13:09:10+00:00

URL: https://externals.io/message/59998#59998

These tools already strip <?php tags, they would need minimal changes to support rolling in a .phpp file unmodified. Unless I am missing something?

Sent from my iPhone



> I posted the bellow text in other thread, but i should have it post here,
> so i'm reposting it to this thread.
> 
> Well, it's time for me to remind about the techique many use (and some
> frameworks provide it out of the box) - the application file concatination
> to speed up file loading.
> Yii framework provides a Yiilite.php file for this, that includes mostly
> used core classes in one big file.that loads much faster and is used for
> production. Any other framework has user extentions or other type of
> solutions for this to speed up the application, and it makes really big
> difference.
> So there is a good question - how the hell in a MVC framework would i
> combine my models, controllers, components and other stuff that will
> definetly be as in .php so in .pphp. And not every file will be cached like
> that - some will remain as distinct files even in production.
> 
> The further discussion goes the more questions there is and less answers
> there are.
