3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = '<p style="text-align: justify;"> <a href="http://www.disenowebusabilidad.es/wp-content/uploads/2012/09/fuentes-web-google-fonts.jpg"><img class="aligncenter size-full wp-image-39" title="fuentes-web-google-fonts" src="http://www.disenowebusabilidad.es/wp-content/uploads/2012/09/fuentes-web-google-fonts.jpg" alt="fuentes web con Google Fonts API" width="490" height="300" /></a></p>'; $matches = array(); preg_match_all( '/<a(.*?)href="(.*?)"/i', $content, $matches); $url = str_replace('disenowebusabilidad.com', 'adoramedia.es', $matches[2][0]); echo preg_replace('/<a(.*?)href="(.*?)"/i', '<a${1}href="' . $url . '"', $content);
Output for git.master, git.master_jit, rfc.property-hooks
<p style="text-align: justify;"> <a href="http://www.disenowebusabilidad.es/wp-content/uploads/2012/09/fuentes-web-google-fonts.jpg"><img class="aligncenter size-full wp-image-39" title="fuentes-web-google-fonts" src="http://www.disenowebusabilidad.es/wp-content/uploads/2012/09/fuentes-web-google-fonts.jpg" alt="fuentes web con Google Fonts API" width="490" height="300" /></a></p>

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.15 ms | 402 KiB | 8 Q