3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 41
Branch analysis from position: 40
2 jumps found. (Code = 43) Position 1 = 51, Position 2 = 80
Branch analysis from position: 51
2 jumps found. (Code = 43) Position 1 = 53, Position 2 = 55
Branch analysis from position: 53
1 jumps found. (Code = 42) Position 1 = 63
Branch analysis from position: 63
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 72
Branch analysis from position: 70
1 jumps found. (Code = 42) Position 1 = 80
Branch analysis from position: 80
2 jumps found. (Code = 77) Position 1 = 83, Position 2 = 101
Branch analysis from position: 83
2 jumps found. (Code = 78) Position 1 = 84, Position 2 = 101
Branch analysis from position: 84
1 jumps found. (Code = 42) Position 1 = 83
Branch analysis from position: 83
Branch analysis from position: 101
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 101
Branch analysis from position: 72
2 jumps found. (Code = 77) Position 1 = 83, Position 2 = 101
Branch analysis from position: 83
Branch analysis from position: 101
Branch analysis from position: 55
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 72
Branch analysis from position: 70
Branch analysis from position: 72
Branch analysis from position: 80
Branch analysis from position: 41
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 41
Branch analysis from position: 40
Branch analysis from position: 41
filename:       /in/8hR84
function name:  (null)
number of ops:  103
compiled vars:  !0 = $persons, !1 = $page, !2 = $total, !3 = $limit, !4 = $totalPages, !5 = $offset, !6 = $yourDataArray, !7 = $link, !8 = $pagerContainer, !9 = $person
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5B+%0A%7B%22FrstName%22%3A%22Henry%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Walton%22%2C%22Online%22%3Atrue%2C%22DeptId%22%3A%224%22%7D%2C%0A%7B%22FrstName%22%3A%22Klaus%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Mikaelson%22%2C%22Online%22%3Atrue%2C%22DeptId%22%3A%222%22%7D%2C%0A%7B%22FrstName%22%3A%22Kylo%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Ren%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%224%22%7D%2C%0A%7B%22FrstName%22%3A%22Stan%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Lee%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Kevin%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22McNally%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Katherine%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Pierce%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%222%22%7D%2C%0A%7B%22FrstName%22%3A%22Clint%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Barton%22%2C%22Online%22%3Atrue%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Avery%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Walton%22%2C%22Online%22%3Atrue%2C%22DeptId%22%3A%224%22%7D%2C%0A%7B%22FrstName%22%3A%22Peter%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Kap%22%2C%22Online%22%3Atrue%2C%22DeptId%22%3A%222%22%7D%2C%0A%7B%22FrstName%22%3A%22Denzo%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Falc%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%224%22%7D%2C%0A%7B%22FrstName%22%3A%22Eveline%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Benzel%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Bill%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Libuz%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22April%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Gonzo%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%222%22%7D%2C%0A%7B%22FrstName%22%3A%22Harry%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Geraldson%22%2C%22Online%22%3Atrue%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Heraldson%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22McGree%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Abraham%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Retz%22%2C%22Online%22%3Atrue%2C%22DeptId%22%3A%224%22%7D%2C%0A%7B%22FrstName%22%3A%22June%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Pharee%22%2C%22Online%22%3Atrue%2C%22DeptId%22%3A%222%22%7D%2C%0A%7B%22FrstName%22%3A%22Anthony%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Gonzales%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%224%22%7D%2C%0A%7B%22FrstName%22%3A%22Billy%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Scott%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Anika%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Rose%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Kristen%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Fontana%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%222%22%7D%2C%0A%7B%22FrstName%22%3A%22Olivia%22%2C%22Middlename%22%3A%22%22%2C%22LastName%22%3A%22Menzel%22%2C%22Online%22%3Atrue%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Mark%22%2C%22Middlename%22%3A%22van%22%2C%22LastName%22%3A%22Gad%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%223%22%7D%2C%0A%7B%22FrstName%22%3A%22Hope%22%2C%22Middlename%22%3A%22van%22%2C%22LastName%22%3A%22Dyne%22%2C%22Online%22%3Afalse%2C%22DeptId%22%3A%223%22%7D%0A%5D'
   31     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $11     
          5        ASSIGN                                                   !0, $11
   33     6        FETCH_IS                                         ~13     '_GET'
          7        ISSET_ISEMPTY_DIM_OBJ                         1  ~14     ~13, 'page'
          8        BOOL_NOT                                         ~15     ~14
          9      > JMPZ                                                     ~15, ->15
         10    >   FETCH_R                      global              ~16     '_GET'
         11        FETCH_DIM_R                                      ~17     ~16, 'page'
         12        CAST                                          4  ~18     ~17
         13        QM_ASSIGN                                        ~19     ~18
         14      > JMP                                                      ->16
         15    >   QM_ASSIGN                                        ~19     1
         16    >   ASSIGN                                                   !1, ~19
   34    17        COUNT                                            ~21     !0
         18        ASSIGN                                                   !2, ~21
   37    19        ASSIGN                                                   !3, 3
   38    20        INIT_FCALL                                               'ceil'
         21        DIV                                              ~24     !2, !3
         22        SEND_VAL                                                 ~24
         23        DO_ICALL                                         $25     
         24        ASSIGN                                                   !4, $25
   39    25        INIT_FCALL                                               'max'
         26        SEND_VAR                                                 !1
         27        SEND_VAL                                                 1
         28        DO_ICALL                                         $27     
         29        ASSIGN                                                   !1, $27
   40    30        INIT_FCALL                                               'min'
         31        SEND_VAR                                                 !1
         32        SEND_VAR                                                 !4
         33        DO_ICALL                                         $29     
         34        ASSIGN                                                   !1, $29
   43    35        SUB                                              ~31     !1, 1
         36        MUL                                              ~32     !3, ~31
         37        ASSIGN                                                   !5, ~32
   44    38        IS_SMALLER                                               !5, 0
         39      > JMPZ                                                     ~34, ->41
         40    >   ASSIGN                                                   !5, 0
   46    41    >   INIT_FCALL                                               'array_slice'
         42        SEND_VAR                                                 !0
         43        SEND_VAR                                                 !5
         44        SEND_VAR                                                 !3
         45        DO_ICALL                                         $36     
         46        ASSIGN                                                   !6, $36
   49    47        ASSIGN                                                   !7, 'index.php%3Fpage%3D%25d'
   50    48        ASSIGN                                                   !8, '%3Cdiv+style%3D%22width%3A+300px%3B%22%3E'
   51    49        IS_NOT_EQUAL                                             !4, 0
         50      > JMPZ                                                     ~40, ->80
   53    51    >   IS_EQUAL                                                 !1, 1
         52      > JMPZ                                                     ~41, ->55
   55    53    >   ASSIGN_OP                                     8          !8, ''
   53    54      > JMP                                                      ->63
   59    55    >   INIT_FCALL                                               'sprintf'
         56        CONCAT                                           ~43     '%3Ca+href%3D%22', !7
         57        CONCAT                                           ~44     ~43, '%22+style%3D%22color%3A+%23c00%22%3E+%26%23171%3B+prev+page%3C%2Fa%3E'
         58        SEND_VAL                                                 ~44
         59        SUB                                              ~45     !1, 1
         60        SEND_VAL                                                 ~45
         61        DO_ICALL                                         $46     
         62        ASSIGN_OP                                     8          !8, $46
   61    63    >   CONCAT                                           ~48     '+%3Cspan%3E+page+%3Cstrong%3E', !1
         64        CONCAT                                           ~49     ~48, '%3C%2Fstrong%3E+from+'
         65        CONCAT                                           ~50     ~49, !4
         66        CONCAT                                           ~51     ~50, '%3C%2Fspan%3E'
         67        ASSIGN_OP                                     8          !8, ~51
   62    68        IS_EQUAL                                                 !1, !4
         69      > JMPZ                                                     ~53, ->72
   64    70    >   ASSIGN_OP                                     8          !8, ''
   62    71      > JMP                                                      ->80
   68    72    >   INIT_FCALL                                               'sprintf'
         73        CONCAT                                           ~55     '%3Ca+href%3D%22', !7
         74        CONCAT                                           ~56     ~55, '%22+style%3D%22color%3A+%23c00%22%3E+next+page+%26%23187%3B+%3C%2Fa%3E'
         75        SEND_VAL                                                 ~56
         76        ADD                                              ~57     !1, 1
         77        SEND_VAL                                                 ~57
         78        DO_ICALL                                         $58     
         79        ASSIGN_OP                                     8          !8, $58
   71    80    >   ASSIGN_OP                                     8          !8, '%3C%2Fdiv%3E'
   73    81        ECHO                                                     !8
   75    82      > FE_RESET_R                                       $61     !6, ->101
         83    > > FE_FETCH_R                                               $61, !9, ->101
   76    84    >   ECHO                                                     '%0A'
   77    85        FETCH_DIM_R                                      ~62     !9, 'FrstName'
         86        CONCAT                                           ~63     'First+name%3A+', ~62
         87        ECHO                                                     ~63
   78    88        FETCH_DIM_R                                      ~64     !9, 'Middlename'
         89        CONCAT                                           ~65     '+-+Middle+name%3A+', ~64
         90        ECHO                                                     ~65
   79    91        FETCH_DIM_R                                      ~66     !9, 'LastName'
         92        CONCAT                                           ~67     '+-+Last+name%3A+', ~66
         93        ECHO                                                     ~67
   80    94        FETCH_DIM_R                                      ~68     !9, 'Online'
         95        CONCAT                                           ~69     '+-+Online%3A+', ~68
         96        ECHO                                                     ~69
   81    97        FETCH_DIM_R                                      ~70     !9, 'DeptId'
         98        CONCAT                                           ~71     '+-+Dept%3A+', ~70
         99        ECHO                                                     ~71
   75   100      > JMP                                                      ->83
        101    >   FE_FREE                                                  $61
   82   102      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
223.48 ms | 985 KiB | 19 Q