3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = '<iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/x248ctr_this_is_cool" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x248ctr_logitech-g402-hyperion-fury-gaming-mouse-inhumanly-fast_tech" target="_blank">Logitech G402 Hyperion Fury Gaming Mouse...</a> <i>by <a href="http://www.dailymotion.com/LinusTechTips" target="_blank">LinusTechTips</a></i>'; preg_match('#dailymotion.com\/(?:embed\/video|swf\/video|video)\/([^\'"\/\?_]+)#i',$_content, $matches); var_dump($matches); echo $_content;
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> string(35) "dailymotion.com/embed/video/x248ctr" [1]=> string(7) "x248ctr" } <iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/x248ctr_this_is_cool" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x248ctr_logitech-g402-hyperion-fury-gaming-mouse-inhumanly-fast_tech" target="_blank">Logitech G402 Hyperion Fury Gaming Mouse...</a> <i>by <a href="http://www.dailymotion.com/LinusTechTips" target="_blank">LinusTechTips</a></i>

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:
58.43 ms | 402 KiB | 8 Q