3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startTime = strtotime(date("Y-m-d H:i:s"))+90*60; $NewMinute = round(date("i", $startTime)/5)*5; echo date("Y-m-d H:", $startTime) .$NewMinute;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fkGbQ
function name:  (null)
number of ops:  25
compiled vars:  !0 = $startTime, !1 = $NewMinute
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        DO_ICALL                                         $3      
          6        ADD                                              ~4      $3, 5400
          7        ASSIGN                                                   !0, ~4
    4     8        INIT_FCALL                                               'round'
          9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'i'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        DIV                                              ~7      $6, 5
         14        SEND_VAL                                                 ~7
         15        DO_ICALL                                         $8      
         16        MUL                                              ~9      $8, 5
         17        ASSIGN                                                   !1, ~9
    6    18        INIT_FCALL                                               'date'
         19        SEND_VAL                                                 'Y-m-d+H%3A'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                         $11     
         22        CONCAT                                           ~12     $11, !1
         23        ECHO                                                     ~12
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.69 ms | 999 KiB | 16 Q