3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $checkOut = "2016-01-31 15:01:11"; $checkIn = "2011-01-31 15:32:35"; echo ($checkIn - $checkOut);
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/ij7Qa on line 5 Notice: A non well formed numeric value encountered in /in/ij7Qa on line 5 -5
Output for 5.3.22 - 7.0.20
-5