preg_match_all(‘{<‘.$tag.'[^>]*>(.*?)’.$tag.’>}’, $content, $matches, PREG_PATTERN_ORDER);
Merhabalar, bu kod satırı syntax error veriyor. Buradaki hata nedir?
https://prnt.sc/ol7pl8
Kod satırında hata functions.php |
4 Mesajlar | 1.015 Okunma | ||
preg_match_all(‘{<‘.$tag.'[^>]*>(.*?)’.$tag.’>}’, $content, $matches, PREG_PATTERN_ORDER);
preg_match_all('{<'.$tag.'[^>]*>(.*?)'.$tag.'>}', $content, $matches, PREG_PATTERN_ORDER);