Как проверить, является ли строка действительным XML без отображения предупреждения в PHP ⇐ Php
Как проверить, является ли строка действительным XML без отображения предупреждения в PHP
i was trying to check the validity of a string as xml using the simplexml_load_string()Docs function but it displays a lot of warning messages.
How can I check whether a string is a valid XML without using @ at the beginning to suppress the errors and warnings?
Источник: https://stackoverflow.com/questions/455 ... ing-in-php
i was trying to check the validity of a string as xml using the simplexml_load_string()Docs function but it displays a lot of warning messages.
How can I check whether a string is a valid XML without using @ at the beginning to suppress the errors and warnings?
Источник: https://stackoverflow.com/questions/455 ... ing-in-php
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение