3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $end_date = new DateTime(); $end_timestamp = $end_date->getTimestamp() + 24 * 60 * 60; echo $end_timestamp;
based on NjRaU
Output for 5.6.28, 7.0.20 - 7.2.0
1450450430
Output for 7.0.6
1463913793
Output for 7.0.5
1459752651
Output for 7.0.4
1457726115
Output for 7.0.3
1458422081
Output for 7.0.2
1458790121
Output for 7.0.1
1458887991
Output for 7.0.0
1459150414
Output for 5.6.21
1462282927
Output for 5.6.20
1460353937
Output for 5.6.19
1457496135
Output for 5.6.18
1458132909
Output for 5.6.17
1458520152
Output for 5.6.16
1459239772
Output for 5.6.15
1459329129
Output for 5.6.14
1460732004
Output for 5.6.13
1460820805
Output for 5.6.12
1461218495
Output for 5.6.11
1461587224
Output for 5.6.10
1461681115
Output for 5.6.9
1461872407
Output for 5.6.8
1462076960
Output for 5.5.35
1464045014
Output for 5.5.34
1460448342
Output for 5.5.33
1457593165
Output for 5.5.32
1458319849
Output for 5.5.31
1458617805
Output for 5.5.30
1459595088
Output for 5.5.29
1460958668
Output for 5.5.28
1461316767
Output for 5.5.27
1461409179
Output for 5.5.26
1461777074
Output for 5.5.25
1461976601
Output for 5.5.24
1464159770
Output for 5.4.45
1450450434
Output for 5.4.44
1450450435
Output for 5.4.43
1450450436
Output for 5.4.41 - 5.4.42
1450450437
Output for 5.4.40
1450450438
Output for 5.4.38 - 5.4.39
1450450439
Output for 5.4.35 - 5.4.37
1450450440
Output for 5.4.34
1450450441
Output for 5.3.29, 5.4.31 - 5.4.32
1450450442
Output for 5.4.27 - 5.4.30
1450450443
Output for 5.4.24 - 5.4.26
1450450444
Output for 5.3.28, 5.4.21 - 5.4.23
1450450445
Output for 5.4.18 - 5.4.20
1450450446
Output for 5.3.25 - 5.3.27, 5.4.16 - 5.4.17
1450450447
Output for 5.3.22 - 5.3.24, 5.4.12 - 5.4.15
1450450448
Output for 5.3.20 - 5.3.21, 5.4.10 - 5.4.11
1450450449