3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d\TH:i:sP'); $round = ( round ( time() / 60 ) * 60 ); echo date('h:i:s A', $round );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lCb5Y
function name:  (null)
number of ops:  18
compiled vars:  !0 = $round
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3AsP'
          2        DO_ICALL                                         $1      
          3        ECHO                                                     $1
    5     4        INIT_FCALL                                               'round'
          5        INIT_FCALL                                               'time'
          6        DO_ICALL                                         $2      
          7        DIV                                              ~3      $2, 60
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        MUL                                              ~5      $4, 60
         11        ASSIGN                                                   !0, ~5
    6    12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'h%3Ai%3As+A'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $7      
         16        ECHO                                                     $7
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.75 ms | 1394 KiB | 19 Q