3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = strtotime("H:i","2016-10-1 15:50:00"); $b = strtotime("H:i","2016-10-1 18:15:00"); echo $a . $b; echo date("H:i:s",$b-$a); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6ccWQ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'H%3Ai'
          2        SEND_VAL                                                 '2016-10-1+15%3A50%3A00'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 'H%3Ai'
          7        SEND_VAL                                                 '2016-10-1+18%3A15%3A00'
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    5    10        CONCAT                                           ~6      !0, !1
         11        ECHO                                                     ~6
    6    12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'H%3Ai%3As'
         14        SUB                                              ~7      !1, !0
         15        SEND_VAL                                                 ~7
         16        DO_ICALL                                         $8      
         17        ECHO                                                     $8
    7    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.71 ms | 1394 KiB | 17 Q