3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $regex = '~ (?P<function_name>.*?)\s*(?P<parameters>\(.*?\))\s*~six'; preg_match($regex, 'printr(abc,assdd)', $matches); print_r($matches);