How PHP statement is different from PHP script?
Difference between PHP script and PHP statement is that statements are set of instructions which tell PHP to perform an action. PHP script comprises a series of PHP statements that it uses for execution. PHP executes statements one at a time until it reaches the end of script. Illustration is as follows:
PHP statement: echo "Hi";
PHP script: if (time = midnight)
{put on pajamas;
brush teeth;
go to bed;}