→
Part 1 · Fundamentals / Hello, ++PHP
Lesson 1 of 8

Hello, ++PHP

Write ++PHP in files ending in .ppphp, starting with the familiar <?php opening tag. You can use PHP functions and classes, then add features such as typed variables and generics as you learn them. The compiler checks your code and turns it into PHP you can run.

On the right: an editable source file. Press Run to compile and execute it, and the program output appears below the editor:

hello.ppphp
echo "Hello, ++PHP!";

Try changing the message and running it again. Build PHP shows the generated PHP instead, and Check finds errors without running the program. Use the arrows above to move through the lessons.