3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $content = <<<EOD <span style="cursor:pointer" class="sw1" onclick="document.location='/logout'" onmouseover="hint('<center>До конца действия: 237 д. 0 ч.</center>', this, 75,125)"><center>До конца действия: 238 д. 0 ч.</center></span> EOD; for ($i = 0; $i<= 100; ++$i) { $first = preg_replace('/.*\<center>/', '', $content); $second = preg_replace('/<\/center\>.*/', '', $first); }
based on kDI8U
Output for 4.3.0 - 7.3.0beta1