3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $gmt = "-5:00"; $local = "-4:00"; $offset = $local - $gmt; echo $offset; echo (int)$offset*3600; strtotime("-5:00 hours");
based on 7RDeW
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/W9FAL on line 5 Notice: A non well formed numeric value encountered in /in/W9FAL on line 5 13600
Output for 5.3.21 - 7.0.20
13600