Source Code:
(back to article)
<?php $num = -5; $absolute = abs($num); echo $absolute . "\n"; // Output: 5 $power = pow(2, 3); echo $power . "\n"; // Output: 8 ?>
Result:
Report an issue