3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = 'http://www.localhost.dev/skelbimas/ideti/uzsienio-objektai/'; preg_match('#^/skelbimas/([a-z]+)/([a-z]+)#i', $url, $matches); var_dump($matches);
based on ZKnmF
Output for 4.3.0 - 7.1.0
array(0) { }