Free Pascal <-> PHP | Increment statement
Free Pascal  
inc
Description
 inc (value receiver) ;Input
- var - value receiver
Examples
Free Pascal
Increment statement the possible of use:i:=0;
while i<10 do inc(i);
x :=0;
while i<20 do
begin
 i:= i+2;
 if i=16 then
 begin
    continue
 end;
 inc(x); 
end;.
PHP  
++
Description
++ var ;Input
- var - value receiver
Examples
PHP
Increment statement the possible of use:$i=0;
while ($i<10) ++$i;
$x =0;
while ($i<20)
{
 $i= $i+2;
 if ($i==16)
 {
    continue;
 }
 $x++; 
}Free Pascal  
inc
Description
 inc (value receiver) ;Input
- var - value receiver
Examples
Free Pascal
Increment statement the possible of use:i:=0;
while i<10 do inc(i);
x :=0;
while i<20 do
begin
 i:= i+2;
 if i=16 then
 begin
    continue
 end;
 inc(x); 
end;.
PHP  
++
Description
var ++ ;Input
- var - value receiver
Examples
PHP
Increment statement the possible of use:$i=0;
while ($i<10) ++$i;
$x =0;
while ($i<20)
{
 $i= $i+2;
 if ($i==16)
 {
    continue;
 }
 $x++; 
}Increment statement in another programming language:
Differences to: