Jumat, 23 September 2016

How statement control works in PHP

Control statements in PHP are used to control the flow of execution in a script. There are three categories of control statements in PHP: selection statements, iteration / loop statements and jump statements.   Selection statements The selection statements in PHP allows the PHP processor to select a set of statements based on the truth value of a condition or Boolean expression. Selection statements in PHP are if, if-else, elseif ladder and switch statement. Syntax of if is given below: 1 2 3 4 if(condition / expression) {    statements(s); } Syntax of if-else is given below: 1 2 3

The post How statement control works in PHP appeared first on Coding Security.


How statement control works in PHP
read more

Tidak ada komentar:

Posting Komentar