3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $commit = "asdfsadf[CL: hejsa smukke]asdfsadf"; preg_match('/.+\[CL:(.+)\].+$/iu', $commit, $matches); var_dump($matches);
Output for 4.3.0 - 7.1.0
array(2) { [0]=> string(34) "asdfsadf[CL: hejsa smukke]asdfsadf" [1]=> string(13) " hejsa smukke" }