3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d1 = strtotime("00:08:27"); $d2 = strtotime("00:01:32"); echo date('d.m.Y H:i:s',$d1 + $d2); //$date1 = new DateTime('00:08:27'); //$date2 = new DateTime('00:01:32'); //$diff = $date2->diff($date1); //print_r( $diff )
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5bspK
function name:  (null)
number of ops:  15
compiled vars:  !0 = $d1, !1 = $d2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '00%3A08%3A27'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '00%3A01%3A32'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    5     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'd.m.Y+H%3Ai%3As'
         10        ADD                                              ~6      !0, !1
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13        ECHO                                                     $7
   10    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.3 ms | 1394 KiB | 17 Q