Warning: DOMDocument::registerNodeClass(): Couldn't fetch DOMWorks\Document in /in/Bjgjm on line 21
Fatal error: Uncaught Error: Call to undefined method DOMWorks\Document::foo() in /in/Bjgjm:28
Stack trace:
#0 {main}
thrown in /in/Bjgjm on line 28
Process exited with code 255.
Warning: DOMDocument::registerNodeClass(): Couldn't fetch DOMWorks\Document in /in/Bjgjm on line 21
Fatal error: Call to undefined method DOMWorks\Document::foo() in /in/Bjgjm on line 28
Process exited with code 255.