What is the output of the following code snippet?$a = 0123; echo $a;
Key points
- Leading zeros trigger octal interpretation
- Octal digits are restricted to 0-7
- Integer literals are base-10 by default
Ready to go further?
Key points
Ready to go further?