Skip to main content

parse_literal_integer

Function parse_literal_integer 

Source
pub fn parse_literal_integer(value: &str) -> Option<u64>
Expand description

Parses a PHP literal integer with support for binary, octal, decimal, and hex.

Optimized to use byte-level iteration instead of Unicode chars.