update : 2015.11.03
php.shukuma.com검색:
|
libxml_get_errors(PHP 5 >= 5.1.0) libxml_get_errors — Retrieve array of errors 설명
array libxml_get_errors
( void
)
Retrieve array of errors. 반환값Returns an array with LibXMLError objects if there are any errors in the buffer, or an empty array otherwise. 예제
Example #1 A libxml_get_errors() example This example demonstrates how to build a simple libxml error handler.
<?php 위 예제의 출력: <titles>PHP: Behind the Parser</title> ----------------------------------------------^ Fatal Error 76: Opening and ending tag mismatch: titles line 4 and title Line: 4 Column: 46 -------------------------------------------- 참고
|