Golf¶
Code golf is about creating the shortest code, in bytes, to solve a given problem, in a specific language or free of choice.
<?php
// All spaces are removed to make the code compact
$billionPlusOne=1+1e9;
// 1e9 is cast automatically to 1000000000 or 1_000_000_000, but takes less space to write
?>
See also Tips and Tricks when Golfing in PHP.
Related : Cast Operator, One Liner