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 cW6VW
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/R1lD5 on line 3 -10800
Output for 5.4.8 - 7.0.20
-10800
Output for 5.3.18 - 5.4.7
-7200