3v4l.org

run code in 300+ PHP versions simultaneously
<?php $round = [ 'round' => empty($current) ? 1 : $current['round'] + 3, 'type' => 'Public', 'starts' => empty($current) ? $_SERVER['REQUEST_TIME'] : floor($_SERVER['REQUEST_TIME'] / 86400) * 86400 + 72000, 'ends' => floor($_SERVER['REQUEST_TIME'] / 86400) * 86400 + 72000 + 864000, 'speed' => 25, 'build' => 2500, 'credits' => 4294967295, 'jackpot' => 100 ]; $round = [ 'round' => @$current['round'] + 1, 'type' => 'Speed', 'starts' => floor($_SERVER['REQUEST_TIME'] / 86400) * 86400 + 72000, 'ends' => floor($_SERVER['REQUEST_TIME'] / 86400) * 86400 + 72000 + 172800, 'speed' => 100, 'build' => 2500, 'credits' => 0, 'jackpot' => 50 ]; var_dump($round['type']);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
Branch analysis from position: 15
filename:       /in/kDjTA
function name:  (null)
number of ops:  75
compiled vars:  !0 = $round, !1 = $current
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ISSET_ISEMPTY_CV                                         !1
          1      > JMPZ                                                     ~2, ->4
          2    >   QM_ASSIGN                                        ~3      1
          3      > JMP                                                      ->7
          4    >   FETCH_DIM_R                                      ~4      !1, 'round'
          5        ADD                                              ~5      ~4, 3
          6        QM_ASSIGN                                        ~3      ~5
          7    >   INIT_ARRAY                                       ~6      ~3, 'round'
    5     8        ADD_ARRAY_ELEMENT                                ~6      'Public', 'type'
    6     9        ISSET_ISEMPTY_CV                                         !1
         10      > JMPZ                                                     ~7, ->15
         11    >   FETCH_R                      global              ~8      '_SERVER'
         12        FETCH_DIM_R                                      ~9      ~8, 'REQUEST_TIME'
         13        QM_ASSIGN                                        ~10     ~9
         14      > JMP                                                      ->24
         15    >   INIT_FCALL                                               'floor'
         16        FETCH_R                      global              ~11     '_SERVER'
         17        FETCH_DIM_R                                      ~12     ~11, 'REQUEST_TIME'
         18        DIV                                              ~13     ~12, 86400
         19        SEND_VAL                                                 ~13
         20        DO_ICALL                                         $14     
         21        MUL                                              ~15     $14, 86400
         22        ADD                                              ~16     ~15, 72000
         23        QM_ASSIGN                                        ~10     ~16
         24    >   ADD_ARRAY_ELEMENT                                ~6      ~10, 'starts'
    7    25        INIT_FCALL                                               'floor'
         26        FETCH_R                      global              ~17     '_SERVER'
         27        FETCH_DIM_R                                      ~18     ~17, 'REQUEST_TIME'
         28        DIV                                              ~19     ~18, 86400
         29        SEND_VAL                                                 ~19
         30        DO_ICALL                                         $20     
         31        MUL                                              ~21     $20, 86400
         32        ADD                                              ~22     ~21, 72000
         33        ADD                                              ~23     ~22, 864000
         34        ADD_ARRAY_ELEMENT                                ~6      ~23, 'ends'
    8    35        ADD_ARRAY_ELEMENT                                ~6      25, 'speed'
    9    36        ADD_ARRAY_ELEMENT                                ~6      2500, 'build'
   10    37        ADD_ARRAY_ELEMENT                                ~6      4294967295, 'credits'
   11    38        ADD_ARRAY_ELEMENT                                ~6      100, 'jackpot'
    3    39        ASSIGN                                                   !0, ~6
   15    40        BEGIN_SILENCE                                    ~25     
         41        FETCH_DIM_R                                      ~26     !1, 'round'
         42        END_SILENCE                                              ~25
         43        ADD                                              ~27     ~26, 1
         44        INIT_ARRAY                                       ~28     ~27, 'round'
   16    45        ADD_ARRAY_ELEMENT                                ~28     'Speed', 'type'
   17    46        INIT_FCALL                                               'floor'
         47        FETCH_R                      global              ~29     '_SERVER'
         48        FETCH_DIM_R                                      ~30     ~29, 'REQUEST_TIME'
         49        DIV                                              ~31     ~30, 86400
         50        SEND_VAL                                                 ~31
         51        DO_ICALL                                         $32     
         52        MUL                                              ~33     $32, 86400
         53        ADD                                              ~34     ~33, 72000
         54        ADD_ARRAY_ELEMENT                                ~28     ~34, 'starts'
   18    55        INIT_FCALL                                               'floor'
         56        FETCH_R                      global              ~35     '_SERVER'
         57        FETCH_DIM_R                                      ~36     ~35, 'REQUEST_TIME'
         58        DIV                                              ~37     ~36, 86400
         59        SEND_VAL                                                 ~37
         60        DO_ICALL                                         $38     
         61        MUL                                              ~39     $38, 86400
         62        ADD                                              ~40     ~39, 72000
         63        ADD                                              ~41     ~40, 172800
         64        ADD_ARRAY_ELEMENT                                ~28     ~41, 'ends'
   19    65        ADD_ARRAY_ELEMENT                                ~28     100, 'speed'
   20    66        ADD_ARRAY_ELEMENT                                ~28     2500, 'build'
   21    67        ADD_ARRAY_ELEMENT                                ~28     0, 'credits'
   22    68        ADD_ARRAY_ELEMENT                                ~28     50, 'jackpot'
   14    69        ASSIGN                                                   !0, ~28
   25    70        INIT_FCALL                                               'var_dump'
         71        FETCH_DIM_R                                      ~43     !0, 'type'
         72        SEND_VAL                                                 ~43
         73        DO_ICALL                                                 
         74      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.3 ms | 1405 KiB | 17 Q