Warning: preg_match_all() [function.preg-match-all]: Compilation failed: regular expression is too large at offset 27921 in /var/hosting/host2/chat/message_user.php on line 343
Убрал эту строку $num_matches = preg_match_all('#' . implode('|', $match) . '#', $text, $matches); из файла и стало норм.
В чём причина?
Чат-проблемка
-
ur
Сообщение
Чат-проблемка
пока заменить
на
Код: Выделить всё
$num_matches = preg_match_all('#' . implode('|', $match) . '#', $text, $matches);
Код: Выделить всё
$num_matches = @preg_match_all('#' . implode('|', $match) . '#', $text, $matches);
Вернуться в «Вопросы, ответы и примеры решений»