3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = time(); $time = (int) ($time / 5); $time = (int) ($time * 5); $time -= 5; $today = date("dmYHi", $time); print $today; print date('H:i', $time);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Obj2m
function name:  (null)
number of ops:  22
compiled vars:  !0 = $time, !1 = $today
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    4     3        DIV                                              ~4      !0, 5
          4        CAST                                          4  ~5      ~4
          5        ASSIGN                                                   !0, ~5
    5     6        MUL                                              ~7      !0, 5
          7        CAST                                          4  ~8      ~7
          8        ASSIGN                                                   !0, ~8
    6     9        ASSIGN_OP                                     2          !0, 5
    8    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'dmYHi'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $11     
         14        ASSIGN                                                   !1, $11
    9    15        ECHO                                                     !1
   11    16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'H%3Ai'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $13     
         20        ECHO                                                     $13
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.3 ms | 1395 KiB | 17 Q