how php statement is different from php


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;}

 

Request for Solution File

Ask an Expert for Answer!!
PHP Web Programming: how php statement is different from php
Reference No:- TGS0355094

Expected delivery within 24 Hours