3v4l.org

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