3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $end_timestamp = ($end_date = new DateTime())->getTimestamp() + 24 * 60 * 60; echo $end_timestamp;
based on TTIdI
Output for 7.0.20 - 7.2.0
1450450480
Output for 7.0.6
1463913794
Output for 7.0.5
1459752652
Output for 7.0.4
1457726116
Output for 7.0.3
1458422082
Output for 7.0.2
1458790122
Output for 7.0.1
1458887992
Output for 7.0.0
1459150415
Output for 5.4.10 - 5.6.28
Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /in/LsQVU on line 3
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/LsQVU on line 3
Process exited with code 255.