3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $datum_vzniku = '1987-20-10'; $den = substr($datum_vzniku,8,2); mesic = substr($datum_vzniku, 5, 2); echo $den; ?>
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '=' in /in/NSFK9 on line 6
Process exited with code 255.