PHP is probably the only language where you can’t start coding right away, because the interpreter (a program that executes code) will evaluate your code as plain text. Any code in PHP should be wrapped in
PHP allows you not to specify the closing tag
?>. 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 tag
Type the following code into the editor and don’t forget that it should start with
<?php print_r('King in the North!');
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.