php7-mysql-data/Kapitel_2/Lektion_9/4_variablen_inkrementieren.php

21 lines
163 B
PHP
Raw Permalink Normal View History

2016-08-16 21:20:53 +02:00
<?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>';