1--TEST-- 2DOMDocument::validate() should fail if called statically 3--CREDITS-- 4Knut Urdalen <knut@php.net> 5#PHPTestFest2009 Norway 2009-06-09 \o/ 6--EXTENSIONS-- 7dom 8--FILE-- 9<?php 10try { 11 DOMDocument::validate(); 12} catch (Error $e) { 13 echo $e->getMessage(); 14} 15?> 16--EXPECT-- 17Non-static method DOMDocument::validate() cannot be called statically 18