It\'s neither 0x nor 0; what is it? Is there?
From PHP 5.4+ there is, in fact, a prefix: 0b.
Current info in PHP Docs:
Binary integer literals are available since PHP 5.4.0.
To use octal notation, precede the number with a 0 (zero). To use hexadecimal notation precede the number with 0x. To use binary notation precede the number with 0b.
Mar 24 '10 at 11:31 (original answer):
I don't think there is one. Prefix 0 if for octal and 0x is for hexadecimal.
From PHP docs:
Integer can be specified in decimal (base 10), hexadecimal (base 16), or octal (base 8) notation, optionally preceded by a sign (- or +).
To use octal notation, precede the number with a 0 (zero). To use hexadecimal notation precede the number with 0x.