Y
Hacker News
new
|
ask
|
show
|
jobs
by
gh0zt
4650 days ago
I think the point here is that you'd have to do something like this
$x = new Number(1) $y = clone $x; $y->absolute();
to work with the absolute value of variable $x without actually changing $x