1--TEST-- 2Accessing the error buffer via $obj->error_buf... 3--SKIPIF-- 4<?php if (!extension_loaded("tidy")) print "skip"; ?> 5--FILE-- 6<?php 7 $a = tidy_parse_string("<HTML><asd asdf></HTML>"); 8 echo $a->errorBuffer; 9?> 10--EXPECT-- 11line 1 column 1 - Warning: missing <!DOCTYPE> declaration 12line 1 column 7 - Error: <asd> is not recognized! 13line 1 column 7 - Warning: discarding unexpected <asd> 14line 1 column 17 - Warning: discarding unexpected </html> 15line 1 column 7 - Warning: inserting missing 'title' element