3v4l.org

run code in 500+ PHP versions simultaneously
<?php $o = new class extends DOMNode { public function __construct() {} }; $xml = new XMLReader(); $xml->expand( $o );
Output for 8.2.31 - 8.2.33, 8.3.0 - 8.3.33, 8.4.1 - 8.4.24, 8.5.0 - 8.5.9
Warning: XMLReader::expand(): Couldn't fetch DOMNode@anonymous in /in/G91cW on line 7

preferences:
41.27 ms | 783 KiB | 4 Q