3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$writer = new XMLWriter(); echo var_dump(strtotime("1 day")); //echo date("Y-m-t", strtotime("2013-2"));getdate() //echo date("Y-m-t", strtotime("first day of previous month") ) ;
based on XHSSS
Output for 5.6.28, 7.0.14 - 7.1.0
int(1414872479)
Output for 7.0.6
int(1462311512)
Output for 7.0.5
int(1459682069)
Output for 7.0.4
int(1457643947)
Output for 7.0.3
int(1458336537)
Output for 7.0.2
int(1458634412)
Output for 7.0.1
int(1458805894)
Output for 7.0.0
int(1459073008)
Output for hhvm-3.12.0
int(1457741996)
Output for hhvm-3.10.0
int(1459345269)
Output for 5.6.21
int(1462207455)
Output for 5.6.20
int(1460269883)
Output for 5.6.19
int(1457374457)
Output for 5.6.18
int(1458023291)
Output for 5.6.17
int(1458439445)
Output for 5.6.16
int(1459165540)
Output for 5.6.15
int(1459255051)
Output for 5.6.14
int(1459610934)
Output for 5.6.13
int(1460748346)
Output for 5.6.12
int(1461140748)
Output for 5.6.11
int(1461426400)
Output for 5.6.10
int(1461605048)
Output for 5.6.9
int(1461795676)
Output for 5.6.8
int(1461996011)
Output for 5.6.7
int(1464190362)
Output for 5.5.35
int(1463946713)
Output for 5.5.34
int(1460375734)
Output for 5.5.33
int(1457511173)
Output for 5.5.32
int(1458148548)
Output for 5.5.31
int(1458536376)
Output for 5.5.30
int(1459522134)
Output for 5.5.29
int(1460885011)
Output for 5.5.28
int(1461238181)
Output for 5.5.27
int(1461334629)
Output for 5.5.26
int(1461699435)
Output for 5.5.25
int(1461894141)
Output for 5.5.24
int(1462094780)
Output for 5.4.45
int(1441677947)
Output for 5.4.44
int(1441677944)
Output for 5.4.43
int(1441677939)
Output for 5.4.42
int(1441677938)
Output for 5.4.41
int(1441677935)
Output for 4.3.0, 5.4.40
int(1441677934)
Output for 5.4.39
int(1441677932)
Output for 5.4.38
int(1441677930)
Output for 5.4.37
int(1441677928)
Output for 5.4.36
int(1441677927)
Output for 5.4.35
int(1441677926)
Output for 5.4.21 - 5.4.34
int(1414872484)
Output for 5.3.29 - 5.4.20
int(1414872485)
Output for 5.3.7 - 5.3.28
int(1414872486)
Output for 5.1.5 - 5.3.6
int(1414872487)
Output for 4.3.1 - 4.4.9, 5.0.3 - 5.0.5, 5.1.1 - 5.1.4
int(1414872488)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/j7Nj4 on line 5
Process exited with code 255.
Output for 5.0.0 - 5.0.2
int(1414796400)