Skip to main content

numeric_key

Function numeric_key 

Source
pub fn numeric_key(key: &[u8]) -> Option<i64>
Expand description

ZEND_HANDLE_NUMERIC_STR: the integer a string array key becomes, if any.

An optional - and decimal digits without leading zeros ("0" itself is allowed, "-0" is not), within the i64 range.