mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-22 10:22:57 +00:00
b9a1e86245
Bug: T212730 Change-Id: I7573da1683efc83b5002b8948c97dd7f6658a488
10 lines
321 B
Perl
10 lines
321 B
Perl
/* Things that are NOT numbers; */
|
|
0xfoo := 'foobar';
|
|
0b10bar := 'bar';
|
|
|
|
0xfoo === 'foobar' & 0b10bar === 'bar' &
|
|
|
|
/* Actual numbers */
|
|
0x1A === 0x1a & 0x1a === 26 & 0xa === 10 & 0b11111111 === 255 & 0o123 === 83 & 0x123 === 291 & 0xF === 15 &
|
|
0o10 === 8 & 0o1 === 1 & 0b101010 === 42 & 0b101010 === 0x2a & 0x2a === 0o52
|