3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 60*60*16; $b = '12:31'; echo date("H:i",$a); echo "\n"; echo date("H:i",$b); echo "\n"; echo date("H:i",$a-$b-3600);
based on 6Dn8M
Output for 7.1.0 - 7.2.0
17:00 Notice: A non well formed numeric value encountered in /in/hqnNk on line 7 01:00 Notice: A non well formed numeric value encountered in /in/hqnNk on line 9 15:59
Output for 5.4.0 - 7.0.20
17:00 Notice: A non well formed numeric value encountered in /in/hqnNk on line 7 01:00 15:59