3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $datum_vzniku = '1987-20-10'; $den = substr($datum_vzniku,8,2); $mesic = substr($datum_vzniku, 5, 2); echo $mesic; ?>
Output for 4.3.0 - 7.2.0
20