Better way to add number to itself?

后端 未结 9 1398
心在旅途
心在旅途 2020-12-17 14:16

Is there a better/shorter way in PHP of doing

$x = $x + 10;

i.e.

something like

$x .= 10; // (but this doesn\'t add         


        
9条回答
提交回复
热议问题