Skip to main content

PREG_SPLIT_OFFSET_CAPTURE

Constant PREG_SPLIT_OFFSET_CAPTURE 

Source
pub const PREG_SPLIT_OFFSET_CAPTURE: i64 = 4;
Expand description

Returns each preg_split() piece with its byte offset, as PHP’s PREG_SPLIT_OFFSET_CAPTURE.