3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = new DateTime('now', new DateTimeZone("America/Sao_Paulo")); echo 'TimeStamp: '. ($data->getTimestamp() + $data->getOffset());
based on R1lD5
Output for 5.6.28, 7.0.20 - 7.2.0
TimeStamp: 1444269296
Output for 7.0.6
TimeStamp: 1462257990
Output for 7.0.5
TimeStamp: 1459625576
Output for 7.0.4
TimeStamp: 1457593969
Output for 7.0.3
TimeStamp: 1458287644
Output for 7.0.2
TimeStamp: 1458654668
Output for 7.0.1
TimeStamp: 1458757125
Output for 7.0.0
TimeStamp: 1459021694
Output for 5.6.21
TimeStamp: 1462154486
Output for 5.6.20
TimeStamp: 1460226246
Output for 5.6.19
TimeStamp: 1457363741
Output for 5.6.18
TimeStamp: 1457999261
Output for 5.6.17
TimeStamp: 1458389082
Output for 5.6.16
TimeStamp: 1459111562
Output for 5.6.15
TimeStamp: 1459201316
Output for 5.6.14
TimeStamp: 1459554937
Output for 5.6.13
TimeStamp: 1460692390
Output for 5.6.12
TimeStamp: 1461088127
Output for 5.6.11
TimeStamp: 1461372347
Output for 5.6.10
TimeStamp: 1461551529
Output for 5.6.9
TimeStamp: 1461742507
Output for 5.6.8
TimeStamp: 1461944613
Output for 5.5.35
TimeStamp: 1463896070
Output for 5.5.34
TimeStamp: 1460321094
Output for 5.5.33
TimeStamp: 1457460840
Output for 5.5.32
TimeStamp: 1458178509
Output for 5.5.31
TimeStamp: 1458485293
Output for 5.5.30
TimeStamp: 1459467446
Output for 5.5.29
TimeStamp: 1460829678
Output for 5.5.28
TimeStamp: 1461186499
Output for 5.5.27
TimeStamp: 1461281236
Output for 5.5.26
TimeStamp: 1461646994
Output for 5.5.25
TimeStamp: 1461843003
Output for 5.5.24
TimeStamp: 1464028623
Output for 5.4.42 - 5.4.45
TimeStamp: 1444269305
Output for 5.4.34 - 5.4.41
TimeStamp: 1444269306
Output for 5.4.25 - 5.4.32
TimeStamp: 1444269307
Output for 5.4.17 - 5.4.24
TimeStamp: 1444269308
Output for 5.4.10 - 5.4.16
TimeStamp: 1444269309
Output for 5.4.8 - 5.4.9
TimeStamp: 1444269310
Output for 5.4.7
TimeStamp: 1445900134
Output for 5.4.6
TimeStamp: 1445905486
Output for 5.4.5
TimeStamp: 1445910907
Output for 5.4.4
TimeStamp: 1445916698
Output for 5.4.3
TimeStamp: 1445922777
Output for 5.4.2
TimeStamp: 1445929100
Output for 5.3.29
TimeStamp: 1446259369
Output for 5.3.28
TimeStamp: 1446267077
Output for 5.3.27
TimeStamp: 1446274732
Output for 5.3.26
TimeStamp: 1446443714
Output for 5.3.25
TimeStamp: 1446449839
Output for 5.3.24
TimeStamp: 1446454134
Output for 5.3.23
TimeStamp: 1446459603
Output for 5.3.22
TimeStamp: 1446465077
Output for 5.3.21
TimeStamp: 1446468982
Output for 5.3.20
TimeStamp: 1446472537
Output for 5.3.19
TimeStamp: 1446477714
Output for 5.3.18
TimeStamp: 1446480761