3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = strtotime("18:00:00") - strtotime("17:30:00"); echo ($d/60)." minutes";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UsmgI
function name:  (null)
number of ops:  12
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '18%3A00%3A00'
          2        DO_ICALL                                         $1      
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '17%3A30%3A00'
          5        DO_ICALL                                         $2      
          6        SUB                                              ~3      $1, $2
          7        ASSIGN                                                   !0, ~3
    4     8        DIV                                              ~5      !0, 60
          9        CONCAT                                           ~6      ~5, '+minutes'
         10        ECHO                                                     ~6
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.66 ms | 1394 KiB | 15 Q