assignment operators in php : = , += , -= , *= , /= , .= , %=
<?php
$num1=10;
$num2=20;
echo ('<br>'. $num1." " .$num2);
?>output :10 20
<?php
$num1=10;
$num2=20;
echo ('<br>'.$num2+=$num1);
?>
output :30
<?php
$num1=10;
$num2=20;
echo ('<br>'.$num2-=$num1
);?>
output :10
<?php
$num1=10;
$num2=20;
echo ('<br>'.$num2*=$num1);
?>
output :200
<?php
$num1=10;
$num2=20;
echo ('<br>'.$num2/=$num1);?>
output :2
<?php
$num1=10;
$num2=20;
echo ('<br>'.$num2.=$num1);?>
output :2010
<?php
$num1=10;
$num2=20;
echo ('<br>'.$num2%=$num1);
?>
output :0