3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = new DOMDocument; $d->load( 'https://feeds.feedburner.com/Newbreak-Video' ); $x = new DOMXPath( $a ); $l1 = $x->query( '//*' ); $l2 = $x->query( '//itunes:*' ); var_dump( $l1->length, $l2->length );
Output for git.master, git.master_jit, rfc.property-hooks
Warning: DOMDocument::load(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/oTt1L on line 3 Warning: DOMDocument::load(): I/O warning : failed to load external entity "https://feeds.feedburner.com/Newbreak-Video" in /in/oTt1L on line 3 Warning: Undefined variable $a in /in/oTt1L on line 4 Fatal error: Uncaught TypeError: DOMXPath::__construct(): Argument #1 ($document) must be of type DOMDocument, null given in /in/oTt1L:4 Stack trace: #0 /in/oTt1L(4): DOMXPath->__construct(NULL) #1 {main} thrown in /in/oTt1L on line 4
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:
52.2 ms | 401 KiB | 8 Q