3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '<p align="center"><font face="Proxima Nova Alt Th" size="16" color="#ff0087" letterSpacing="-1.000000" kerning="1"><b>SALES OR PRODUCT INFO 2</b></font></p>'; $replace = "HERRO"; $dom = new DOMDocument; $dom->loadHTML($string); $el = $dom->textContent(); echo $el;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined method DOMDocument::textContent() in /in/bjCOk:8 Stack trace: #0 {main} thrown in /in/bjCOk on line 8
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:
40.55 ms | 401 KiB | 8 Q