3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match('(\d+)', 'Осталось всего 2', $roomsLeftMatches); $left = isset($roomsLeftMatches[1]) ? $roomsLeftMatches[1] : null; var_dump($left);
Output for 4.3.0 - 7.2.0
NULL