How PHP statement is different from PHP script?
Page 1 of 1
How PHP statement is different from PHP script?
The difference between PHP statement and PHP script is that statements are set of instructions that tell PHP to perform an action. PHP script consists of a series of PHP statements that it uses for execution. PHP executes statements one at a time till it reaches the end of the script. Example is as follows:
PHP statement: echo “Hi”;
PHP script: if (time = midnight)
{put on pajamas;
brush teeth;
go to bed;}
Similar topics
» Echo vs. print statement.
» What are the ways to comment statement in C++?
» How can we increase the execution time of a php script?
» How to use HTTP Headers inside PHP? Write the statement through which it can be added?
» Write a statement to show the joining of multiple comparisons in PHP?
» What are the ways to comment statement in C++?
» How can we increase the execution time of a php script?
» How to use HTTP Headers inside PHP? Write the statement through which it can be added?
» Write a statement to show the joining of multiple comparisons in PHP?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|