3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version="1.0"?> <rootElem vla/> XML; libxml_use_internal_errors(false); $reader = new XMLReader(); $reader->xml($xml); $reader->read(); print_r(libxml_get_errors());
Output for git.master, git.master_jit, rfc.property-hooks
Warning: XMLReader::read(): /:2: parser error : Specification mandate value for attribute vla in /in/Ngg8U on line 13 Warning: XMLReader::read(): <rootElem vla/> in /in/Ngg8U on line 13 Warning: XMLReader::read(): ^ in /in/Ngg8U on line 13 Array ( )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
32.2 ms | 402 KiB | 8 Q