3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lt = '&lt;'; $gt = '&gt;'; $raw_data = '[if lte IE 8]&gt;&lt;link href=&quot;//d3h5jhobc20ump.cloudfront.net/f521cb9cec0171e8d913538552d98b10.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;&lt;![endif]'; echo htmlspecialchars(preg_replace('/^\\s*\\[\\s*(if)(\\s[^\\]]*?)?\\s*\\]'.$gt.'\\s*(.*?)\\s*'.$lt.'!\\[\\s*(endif)\\s*\\]\\s*$/si', '[$1$2]'.$gt."\r\n".'$3'."\r\n".$lt.'![$4]', $raw_data));
Output for git.master, git.master_jit, rfc.property-hooks
[if lte IE 8]&amp;gt; &amp;lt;link href=&amp;quot;//d3h5jhobc20ump.cloudfront.net/f521cb9cec0171e8d913538552d98b10.css&amp;quot; rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot;&amp;gt; &amp;lt;![endif]

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.29 ms | 401 KiB | 8 Q