PHP 4

[ PHP ]

(!!! Teleportom!!!)
: fopen, msql_num_fields, socket_write ...


11.

if
else
elseif
while
do..while
for
foreach
break
continue
switch
declare
return
require()
include()
require_once()
include_once()

PHP- . , , , , ( ).
. , {}. . .

if

if , PHP. . PHP if, C:

if (expr) statement

, expr . expr TRUE, PHP statement, FALSE - . , FALSE, ' boolean'.

a is bigger than b, $a  $b:

if ($a > $b)
    print "a is bigger than b";

, . , if. . , a is bigger than b, $a $b, $a $b:

if ($a > $b) {
    print "a is bigger than b";
    $b = $a;
}

if , .


else
Delphi

: 3119 .

: - |  -