Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$x を 1 増やしたい:
$x = 1; function addOne($x) { $x++; return $x; } $x = addOne($x);
参照でこれを行う方法はありreturn $xますaddOne($x)か?
return $x
addOne($x)