3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php $t=time(); echo($t . "<br>"); echo(date("Y-m-d",$t)); ?> </body> </html>
Output for 4.3.0 - 5.6.30, hhvm-3.17.3, hhvm-3.19.2 - 3.20.2, hhvm-3.21.3 - 3.22.0, 7.0.0 - 7.1.2, 7.1.4 - 7.2.3
<!DOCTYPE html> <html> <body> 1520326582<br>2018-03-06 </body> </html>
Output for hhvm-3.10.1 - 3.15.4, hhvm-3.18.4 - 3.18.5, hhvm-3.21.0, 7.1.3
<!DOCTYPE html> <html> <body> 1520326583<br>2018-03-06 </body> </html>