3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = time(); $time -= $time%900; echo date("H:i",$time+900);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/paKkT
function name:  (null)
number of ops:  12
compiled vars:  !0 = $time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    4     3        MOD                                              ~3      !0, 900
          4        ASSIGN_OP                                     2          !0, ~3
    6     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'H%3Ai'
          7        ADD                                              ~5      !0, 900
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                         $6      
         10        ECHO                                                     $6
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.33 ms | 1394 KiB | 17 Q