3v4l.org

run code in 300+ PHP versions simultaneously
<?php require_once(dirname(__FILE__).'/core.class.php'); $core = new core(); if(isset($_GET['update'])) { if(!empty($_GET['update'])) { $args = explode(',',$_GET['update']); $core->update($args); } else { $core->update(); } } elseif(isset($_GET['get'])) { if(!empty($_GET['get'])) { $core->update($_GET['get']); header("Location: ".str_replace('index.php','',$_SERVER['PHP_SELF'])."cache/".$_GET['get'].".png"); } else { } } elseif(isset($_GET['author'])) { echo "Created by <a href='http://vk.com/ak1998'>Kachalov Alexey</a>(<a href='http://vk.com/kcraft'>KachalovCRAFT NET</a>)"; die; } elseif(isset($_GET['ver'])) { echo "v2.1"; die; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 29
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 26
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 71
Branch analysis from position: 71
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 71
Branch analysis from position: 71
Branch analysis from position: 29
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 60
Branch analysis from position: 32
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 59
Branch analysis from position: 36
1 jumps found. (Code = 42) Position 1 = 59
Branch analysis from position: 59
1 jumps found. (Code = 42) Position 1 = 71
Branch analysis from position: 71
Branch analysis from position: 59
Branch analysis from position: 60
2 jumps found. (Code = 43) Position 1 = 63, Position 2 = 66
Branch analysis from position: 63
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 66
2 jumps found. (Code = 43) Position 1 = 69, Position 2 = 71
Branch analysis from position: 69
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 71
filename:       /in/083ZC
function name:  (null)
number of ops:  72
compiled vars:  !0 = $core, !1 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'dirname'
          1        SEND_VAL                                                 '%2Fin%2F083ZC'
          2        DO_ICALL                                         $2      
          3        CONCAT                                           ~3      $2, '%2Fcore.class.php'
          4        INCLUDE_OR_EVAL                                          ~3, REQUIRE_ONCE
    3     5        NEW                                              $5      'core'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $5
    5     8        FETCH_IS                                         ~8      '_GET'
          9        ISSET_ISEMPTY_DIM_OBJ                         0          ~8, 'update'
         10      > JMPZ                                                     ~9, ->29
    7    11    >   FETCH_IS                                         ~10     '_GET'
         12        ISSET_ISEMPTY_DIM_OBJ                         1  ~11     ~10, 'update'
         13        BOOL_NOT                                         ~12     ~11
         14      > JMPZ                                                     ~12, ->26
    9    15    >   INIT_FCALL                                               'explode'
         16        SEND_VAL                                                 '%2C'
         17        FETCH_R                      global              ~13     '_GET'
         18        FETCH_DIM_R                                      ~14     ~13, 'update'
         19        SEND_VAL                                                 ~14
         20        DO_ICALL                                         $15     
         21        ASSIGN                                                   !1, $15
   10    22        INIT_METHOD_CALL                                         !0, 'update'
         23        SEND_VAR_EX                                              !1
         24        DO_FCALL                                      0          
         25      > JMP                                                      ->28
   14    26    >   INIT_METHOD_CALL                                         !0, 'update'
         27        DO_FCALL                                      0          
         28    > > JMP                                                      ->71
   17    29    >   FETCH_IS                                         ~19     '_GET'
         30        ISSET_ISEMPTY_DIM_OBJ                         0          ~19, 'get'
         31      > JMPZ                                                     ~20, ->60
   19    32    >   FETCH_IS                                         ~21     '_GET'
         33        ISSET_ISEMPTY_DIM_OBJ                         1  ~22     ~21, 'get'
         34        BOOL_NOT                                         ~23     ~22
         35      > JMPZ                                                     ~23, ->59
   21    36    >   INIT_METHOD_CALL                                         !0, 'update'
         37        CHECK_FUNC_ARG                                           
         38        FETCH_FUNC_ARG               global              $24     '_GET'
         39        FETCH_DIM_FUNC_ARG                               $25     $24, 'get'
         40        SEND_FUNC_ARG                                            $25
         41        DO_FCALL                                      0          
   22    42        INIT_FCALL                                               'header'
         43        INIT_FCALL                                               'str_replace'
         44        SEND_VAL                                                 'index.php'
         45        SEND_VAL                                                 ''
         46        FETCH_R                      global              ~27     '_SERVER'
         47        FETCH_DIM_R                                      ~28     ~27, 'PHP_SELF'
         48        SEND_VAL                                                 ~28
         49        DO_ICALL                                         $29     
         50        CONCAT                                           ~30     'Location%3A+', $29
         51        CONCAT                                           ~31     ~30, 'cache%2F'
         52        FETCH_R                      global              ~32     '_GET'
         53        FETCH_DIM_R                                      ~33     ~32, 'get'
         54        CONCAT                                           ~34     ~31, ~33
         55        CONCAT                                           ~35     ~34, '.png'
         56        SEND_VAL                                                 ~35
         57        DO_ICALL                                                 
         58      > JMP                                                      ->59
   25    59    > > JMP                                                      ->71
   29    60    >   FETCH_IS                                         ~37     '_GET'
         61        ISSET_ISEMPTY_DIM_OBJ                         0          ~37, 'author'
         62      > JMPZ                                                     ~38, ->66
   31    63    >   ECHO                                                     'Created+by+%3Ca+href%3D%27http%3A%2F%2Fvk.com%2Fak1998%27%3EKachalov+Alexey%3C%2Fa%3E%28%3Ca+href%3D%27http%3A%2F%2Fvk.com%2Fkcraft%27%3EKachalovCRAFT+NET%3C%2Fa%3E%29'
   32    64      > EXIT                                                     
         65*       JMP                                                      ->71
   34    66    >   FETCH_IS                                         ~39     '_GET'
         67        ISSET_ISEMPTY_DIM_OBJ                         0          ~39, 'ver'
         68      > JMPZ                                                     ~40, ->71
   36    69    >   ECHO                                                     'v2.1'
   37    70      > EXIT                                                     
   39    71    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.13 ms | 1404 KiB | 21 Q