3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = ' <div class="embedmain"> <div class="embedFooter">Data sent successfully in <b>1406.081199646 ms</b></div> <ol class="text"> <li class="li0"></li> </ol> </div>'; $dom = new DOMDocument(); $dom->loadHTML($html); $xpath = new DOMXPath($dom); $bold = $xpath->query('//div[@class="embedmain"]/div[@class="embedFooter"]/b')[0]->nodeValue; echo $bold;
Output for git.master, git.master_jit, rfc.property-hooks
1406.081199646 ms

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:
38.45 ms | 405 KiB | 5 Q