<?php // nama file : operator_assignment.php $a += 2; $b -= 4; $c *= 3; $d /= 2; $e %= 5; $my_str.="hello"; echo "Operator Plus Equal : \$a += 2 -> ".$a; echo "<br>Operator Minus Equal : \$a += 2 -> ".$b; echo "<br>Operator Multiply Equal : \$a += 2 -> ".$c; echo "<br>Operator Divide Equal : \$a += 2 -> ".$d; echo "<br>Operator Modulo Equal : \$a += 2 -> ".$e; echo "<br>Operator Concatenate Equal : \$a += 2 -> ".$my_str; ?>
Selamat mencoba Semoga Bermanfaat :')
0 Komentar untuk " Operator Assigment dalam PHP "