mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-06 15:15:15 +01:00
Initiale Version
This commit is contained in:
21
Kapitel_2/Lektion_9/4_variablen_inkrementieren.php
Normal file
21
Kapitel_2/Lektion_9/4_variablen_inkrementieren.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
$a = 3;
|
||||
$a = $a + 4;
|
||||
echo $a;
|
||||
echo '<br>';
|
||||
|
||||
$a = 3;
|
||||
$a += 4;
|
||||
echo $a;
|
||||
echo '<br>';
|
||||
|
||||
$a = 3;
|
||||
$a++;
|
||||
echo $a;
|
||||
echo '<br>';
|
||||
|
||||
$a = 3;
|
||||
$a--;
|
||||
echo $a;
|
||||
echo '<br>';
|
||||
Reference in New Issue
Block a user