3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = strtotime("08:00"); $b = strtotime("03:00"); $c = date('G:i',$a) + date('G:i',$a); echo date('G:i',$a).PHP_EOL; echo $c;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DI47a
function name:  (null)
number of ops:  26
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '08%3A00'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    6     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '03%3A00'
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    7     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'G%3Ai'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $7      
         12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'G%3Ai'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $8      
         16        ADD                                              ~9      $7, $8
         17        ASSIGN                                                   !2, ~9
    9    18        INIT_FCALL                                               'date'
         19        SEND_VAL                                                 'G%3Ai'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                         $11     
         22        CONCAT                                           ~12     $11, '%0A'
         23        ECHO                                                     ~12
   11    24        ECHO                                                     !2
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.65 ms | 1395 KiB | 17 Q