3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $strmnth = "01-".date("Y"); $endmnth2 = date("m"); $stmnt = 1; $endmnth = "".date("m-Y"); echo $strmnth; echo $endmnth2; echo $stmnt; echo $endmnth; ?>
Output for 4.3.0 - 7.1.0
01-201312112-2013