3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<?xml version="1.0"?> <Rows xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Row Index="1"> <Email xsi:nil="true"/> </Row> </Rows>'; $dom = new DomDocument(); $dom->loadXml($xml); print $dom->getElementsByTagName('email')->item(0)->getAttribute('xsi:nil');
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to a member function getAttribute() on null in /in/ZfOrt:13 Stack trace: #0 {main} thrown in /in/ZfOrt on line 13
Process exited with code 255.

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:
73.84 ms | 401 KiB | 8 Q