3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = date_create_from_format('Y-m-d', '1983-07-21'); var_dump($d->getTimestamp());
Output for 5.6.28, 7.0.14 - 7.1.0
int(427663743)
Output for 7.0.6
int(427612312)
Output for 7.0.5
int(427659098)
Output for 7.0.4
int(427609324)
Output for 7.0.3
int(427611003)
Output for 7.0.2
int(427630973)
Output for 7.0.1
int(427650209)
Output for 7.0.0
int(427656305)
Output for 5.6.21
int(427595355)
Output for 5.6.20
int(427645324)
Output for 5.6.19
int(427614765)
Output for 5.6.18
int(427661284)
Output for 5.6.17
int(427626592)
Output for 5.6.16
int(427662602)
Output for 5.6.15
int(427665836)
Output for 5.6.14
int(427588230)
Output for 5.6.13
int(427602883)
Output for 5.6.12
int(427651640)
Output for 5.6.11
int(427590332)
Output for 5.6.10
int(427597022)
Output for 5.6.9
int(427614915)
Output for 5.6.8
int(427643483)
Output for 5.6.7
int(427616469)
Output for 5.5.35
int(427608424)
Output for 5.5.34
int(427663557)
Output for 5.5.33
int(427648585)
Output for 5.5.32
int(427670338)
Output for 5.5.31
int(427636703)
Output for 5.5.30
int(427586648)
Output for 5.5.29
int(427653575)
Output for 5.5.28
int(427662715)
Output for 5.5.27
int(427671476)
Output for 5.5.26
int(427605800)
Output for 5.5.25
int(427627556)
Output for 5.5.24
int(427652478)
Output for 5.4.45
int(427600345)
Output for 5.4.44
int(427600307)
Output for 5.4.43
int(427600271)
Output for 5.4.42
int(427600258)
Output for 5.4.41
int(427600242)
Output for 5.4.40
int(427600228)
Output for 5.4.39
int(427600218)
Output for 5.4.38
int(427597163)
Output for 5.4.36 - 5.4.37
int(427597155)
Output for 5.4.34 - 5.4.35
int(427597154)
Output for 5.4.32
int(427668149)
Output for 5.4.31
int(427668148)
Output for 5.4.20 - 5.4.30
int(427663747)
Output for 5.3.27 - 5.3.28, 5.4.0 - 5.4.19
int(427663748)
Output for 5.3.29
int(427668146)
Output for 5.3.9 - 5.3.26
int(427663749)
Output for 5.3.0 - 5.3.8
int(427663750)
Output for 5.0.0 - 5.2.17
Fatal error: Call to undefined function date_create_from_format() in /in/eal9c on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: date_create_from_format() in /in/eal9c on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: date_create_from_format() in /in/eal9c on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: date_create_from_format() in /in/eal9c on line 2