3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $febToInt = strtotime("February"); printf("February to int:\nType: %s; Value: %d\nDate string: %s.\n", gettype($febToInt), $febToInt, date('F', $febToInt));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
February to int: Type: integer; Value: 1392937200 Date string: February.
Output for 5.1.0 - 5.1.6
February to int: Type: boolean; Value: 0 Date string: January.
Output for 4.3.0 - 5.0.5
February to int: Type: integer; Value: -1 Date string: January.