ovi.ro

ovi.ro

Tag: bitwise

Operators list

Arithmetic OperatorsExampleNameResult–$aNegationOpposite of $a.$a + $bAdditionSum of $a and $b.$a – $bSubtractionDifference of $a and $b.$a * $bMultiplicationProduct of $a and $b.$a / $bDivisionQuotient of $a and $b.$a % $bModulusRemainder of $a divided by $b.Assignment Operators<?php $a = 5; ?><?php $a = ($b = 2) + 5; // $a = 7 ?><?php $a = 2; $a += 3; // sets $a … Read more »