Are there any built-in PHP functions that can help with removing leading zeros from a number?

Leading zeros in a number can cause issues when performing calculations or comparisons. To remove leading zeros from a number in PHP, you can use the `intval()` function which converts a string to an integer, effectively removing any leading zeros.

$number = "000123";
$numberWithoutZeros = intval($number);
echo $numberWithoutZeros; // Output: 123