Posted by Erik Franzιn on 11/14/05 23:18
> I have run into this behavior on several sites:
>
> $dom->validate('books.dtd');
>
> But according to the docs, the method it is defined
>
> class DOMDocument {
>
> bool validate ( void )
>
> }
>
> Is the dtd (file?) parameter deprecated?
>
> /Erik
>
Just tested, $dom->validate('books.dtd') generates the warning
"DOMDocument::validate() expects exactly 0 parameters, 1 given in ..."
/Erik
Navigation:
[Reply to this message]
|