How does PHP compare to other programming languages like C in terms of handling leading zeros in numeric values?
When handling numeric values with leading zeros, PHP treats them as octal numbers by default. This can lead to unexpected behavior, especially when comparing values. To ensure that leading zeros are not interpreted as octal numbers, you can use the `intval()` function in PHP to explicitly convert the value to a decimal integer.
$number = '0123';
$decimalNumber = intval($number);
echo $decimalNumber; // Output: 123