Better way to add number to itself?
Not a PHP guy, but $x += 10;
maybe?
Have a look at: http://php.net/manual/language.operators.assignment.php (in the code examples and comments)
You can use:
$x += 10;
for example.
Not a PHP guy, but $x += 10;
maybe?
Have a look at: http://php.net/manual/language.operators.assignment.php (in the code examples and comments)
You can use:
$x += 10;
for example.