3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo max(floor((strtotime('2017-07-10') - time()) / 86400), 1); preg_match('#([0-9]+)\-([0-9]+)#', '3-5 dnů', $maa); var_dump($maa[2]);
Output for 5.2.17
2string(1) "5"