3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new DOMDocument; // We don't want to bother with white spaces $doc->preserveWhiteSpace = false; // Most HTML Developers are chimps and produce invalid markup... $doc->strictErrorChecking = false; $doc->recover = true; $doc->loadHTMLFile('https://rbx.trade/i/mbstf'); $xpath = new DOMXPath($doc); $query = "//a[@class='title']"; $entries = $xpath->query($query); var_dump($entries->item(0)->textContent); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: DOMDocument::loadHTMLFile(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/TGRtb on line 11 Warning: DOMDocument::loadHTMLFile(): I/O warning : failed to load external entity "https://rbx.trade/i/mbstf" in /in/TGRtb on line 11 Warning: Attempt to read property "textContent" on null in /in/TGRtb on line 18 NULL

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:
43.28 ms | 2077 KiB | 4 Q