PHP: Instructions
Instruction is a command given to computer. PHP code is a set of instructions separated by ;
.
Here is an example of code with two instructions. When you run this code you will see two sentences on the screen, one after the other.
<?php
print_r('Mother of Dragons');
print_r('Dracarys!');
Actually, it's possible to put multiple instructions on the same line:
<?php
print_r('Mother of Dragons'); print_r('Drakarys!');
but it's considered bad practice.
Instructions
Output these three names on the screen, one after the other: "Robert", "Stannis", "Renly".
Definitions
Instruction - a command given to computer. PHP code is a set of instructions separated by
;
If you got stuck and don't know what to do, you can ask a question in our huge and friendly community