3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rounded = date('H:i:s', round(strtotime('16:45:34')/60)*60); echo $rounded;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S5CBg
function name:  (null)
number of ops:  15
compiled vars:  !0 = $rounded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'H%3Ai%3As'
          2        INIT_FCALL                                               'round'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '16%3A45%3A34'
          5        DO_ICALL                                         $1      
          6        DIV                                              ~2      $1, 60
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                         $3      
          9        MUL                                              ~4      $3, 60
         10        SEND_VAL                                                 ~4
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !0, $5
    5    13        ECHO                                                     !0
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.38 ms | 1385 KiB | 19 Q