3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = '<iframe src="//player.vimeo.com/video/36899035" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> <p><a href="http://vimeo.com/36899035">Moving a Tree</a> from <a href="http://vimeo.com/user4457549">Avery Lawrence</a> on <a href="https://vimeo.com">Vimeo</a>.</p>'; preg_match('#vimeo.com[^\'"0-9]*([0-9]+)#i',$_content, $matches); var_dump($matches); echo $_content;
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> string(24) "vimeo.com/video/36899035" [1]=> string(8) "36899035" } <iframe src="//player.vimeo.com/video/36899035" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> <p><a href="http://vimeo.com/36899035">Moving a Tree</a> from <a href="http://vimeo.com/user4457549">Avery Lawrence</a> on <a href="https://vimeo.com">Vimeo</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:
48.85 ms | 402 KiB | 8 Q