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 ); echo date('h:i:s A', time() );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mpcq0
function name:  (null)
number of ops:  25
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
    7    17        INIT_FCALL                                               'date'
         18        SEND_VAL                                                 'h%3Ai%3As+A'
         19        INIT_FCALL                                               'time'
         20        DO_ICALL                                         $8      
         21        SEND_VAR                                                 $8
         22        DO_ICALL                                         $9      
         23        ECHO                                                     $9
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.32 ms | 1395 KiB | 19 Q