--TEST-- Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass()) --EXTENSIONS-- dom --FILE-- registerNodeClass('DOMDocument', 'X')); } } $dom = clone (new X()); ?> --EXPECT-- bool(true)