PHP regexp HTML tags with attributes to lowercase

PHP regexp HTML tags with attributes to lowercase:

$xml= preg_replace("/<([^>]*)>/e","strtolower('\\0')",$xml);

Комментарии

Популярные сообщения