PHP is probably the only language where you can’t start coding right away, because the interpreter (a program executing your code) will evaluate your code as plain text. Any code in PHP should be wrapped in <?php ?>.

PHP allows you not to specify the closing part ?>. In our lessons we will be omitting it and it won’t affect anything. But coding standards (rules on how to write code) in different companies require adding the closing part ?>.


Type in the code and don’t forget that it should start with <?php.


print_r('King in the North!');


Exercise available only for signed users.

Please sign in with your GitHub account, this is necessary to track the progress of the lessons. If you do not have an account yet, now is the time to create an account on Github.