3v4l.org

run code in 300+ PHP versions simultaneously
<?php $checkOut = "2016-01-31 15:01:11"; $checkIn = "2011-01-31 15:32:35"; echo ($checkIn - $checkOut);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ij7Qa
function name:  (null)
number of ops:  5
compiled vars:  !0 = $checkOut, !1 = $checkIn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2016-01-31+15%3A01%3A11'
    4     1        ASSIGN                                                   !1, '2011-01-31+15%3A32%3A35'
    5     2        SUB                                              ~4      !1, !0
          3        ECHO                                                     ~4
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.49 ms | 1392 KiB | 13 Q