3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $message = "24. What would you prefer, to go to a restaurant or to a night club? "; preg_match('/^\d+\.(.*)$/', $message, $matches); var_dump($matches);
Output for 4.3.0 - 7.1.0
array(2) { [0]=> string(69) "24. What would you prefer, to go to a restaurant or to a night club? " [1]=> string(66) " What would you prefer, to go to a restaurant or to a night club? " }