3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $blogPostWord = 'http://youtu.b/O7Lm3BMG8ow'; preg_match('#(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=v\/)[^&\n]+(?=\?)|(?<=v=)[^&\n]+|(?<=youtu.be/)[^&\n]+#', $blogPostWord, $matches); var_dump($matches);
Output for 4.3.0 - 7.2.0
array(0) { }