Open main menu
Changes
PHP Operators
2 bytes removed
,
19:33, 11 May 2009
m
→
PHP Arithmetic Operators
$var = 3 % 7; // Sets variable $var to the modulus of 3 and 7
$
var1
var
= 10;
$var2 = $
var1
var
/ 2; // Sets variable $var2 to the value of 10 divided by 2
</pre>
← Older edit
Newer edit →
Neil
Bureaucrat
,
administrator
34,333
edits