run code in 200+ php & hhvm versions
Bugs & Features
<?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);

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

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