3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $monthToInt = 8; printf("Month to int:\n\tType: %s; Value: %d\nDate string: %s.\n", gettype($monthToInt), $monthToInt, date('F', $monthToInt));
Output for 4.3.0 - 7.1.0
Month to int: Type: integer; Value: 8 Date string: January.