3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = <<<HTML <tr> Fried rice with chicken, beef, prawn or vegetable. </tr> <tr> <span class="number">78. </span>KHAO PHAD SABPAROD <span class="price">£9.95</span> </tr> HTML; echo preg_replace('#<tr>((?:(?!</tr>).|[\r\n])*<span[^>]*>(?:.|[\r\n])*?)</tr>#s', '<dt>$1</dt>', $input);
Output for git.master, git.master_jit, rfc.property-hooks
<tr> Fried rice with chicken, beef, prawn or vegetable. </tr> <dt> <span class="number">78. </span>KHAO PHAD SABPAROD <span class="price">£9.95</span> </dt>

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:
36.21 ms | 401 KiB | 8 Q