What is PHP?
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
What is TWIG?
Twig is a modern template engine for PHP. Twig compiles templates down to plain optimized PHP code. The overhead compared to regular PHP code was reduced to the very minimum. TWIG - The flexible, fast, and secure template engine for PHP