PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- function mb_preg_match_all($ps_pattern, $ps_subject, &$pa_matches, $pn_flags = PREG_PATTERN_ORDER, $pn_offset = 0, $ps_encoding = NULL) {
- // WARNING! - All this function does is to correct offsets, nothing else:
- //
- if ($ret && ($pn_flags & PREG_OFFSET_CAPTURE))
- foreach($pa_matches as &$ha_match)
- foreach($ha_match as &$ha_match)
- //
- // (code is independent of PREG_PATTER_ORDER / PREG_SET_ORDER)
- return $ret;
- }