3v4l.org

run code in 300+ PHP versions simultaneously
<?php $commit = "asdfsadf[CL: hejsa smukke]asdfsadf"; preg_match('/.+\[CL:(.+)\].+$/iu', $commit, $matches); var_dump($matches);

preferences:
33.05 ms | 402 KiB | 5 Q