3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 47
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 47
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 27
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 46
Branch analysis from position: 46
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 47
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 47
filename:       /in/gDsZv
function name:  (null)
number of ops:  49
compiled vars:  !0 = $capacity_array, !1 = $allotment_array, !2 = $student_object_array, !3 = $i, !4 = $student_object, !5 = $capacity, !6 = $allotment
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    6     3        ASSIGN                                                   !3, 0
    7     4      > FE_RESET_R                                       $11     !2, ->47
          5    > > FE_FETCH_R                                               $11, !4, ->47
    9     6    >   FETCH_DIM_R                                      ~12     !0, !3
          7        ASSIGN                                                   !5, ~12
   10     8        FETCH_DIM_R                                      ~14     !1, !3
          9        ASSIGN                                                   !6, ~14
   11    10        SUB                                              ~16     !5, !6
         11        IS_NOT_EQUAL                                             ~16, 0
         12      > JMPZ                                                     ~17, ->27
   13    13    >   PRE_INC                                          ~19     !6
         14        ASSIGN_DIM                                               !1, !3
         15        OP_DATA                                                  ~19
   14    16        CONCAT                                           ~20     '%0D%0Astudent+%3D+', !4
         17        CONCAT                                           ~21     ~20, '+cap+%3D+'
         18        FETCH_DIM_R                                      ~22     !0, !3
         19        CONCAT                                           ~23     ~21, ~22
         20        CONCAT                                           ~24     ~23, '+allot+%3D+'
         21        FETCH_DIM_R                                      ~25     !1, !3
         22        CONCAT                                           ~26     ~24, ~25
         23        CONCAT                                           ~27     ~26, '+i%3D+'
         24        CONCAT                                           ~28     ~27, !3
         25        ECHO                                                     ~28
   11    26      > JMP                                                      ->46
   16    27    >   ECHO                                                     '%0D%0A+else+%3D+'
   17    28        PRE_INC                                                  !3
   18    29        FETCH_DIM_R                                      ~30     !0, !3
         30        ASSIGN                                                   !5, ~30
   19    31        FETCH_DIM_R                                      ~32     !1, !3
         32        ASSIGN                                                   !6, ~32
   20    33        PRE_INC                                          ~35     !6
         34        ASSIGN_DIM                                               !1, !3
         35        OP_DATA                                                  ~35
   21    36        CONCAT                                           ~36     '%0D%0Astudent+%3D+', !4
         37        CONCAT                                           ~37     ~36, '+cap+%3D+'
         38        FETCH_DIM_R                                      ~38     !0, !3
         39        CONCAT                                           ~39     ~37, ~38
         40        CONCAT                                           ~40     ~39, '+allot+%3D+'
         41        FETCH_DIM_R                                      ~41     !1, !3
         42        CONCAT                                           ~42     ~40, ~41
         43        CONCAT                                           ~43     ~42, '+i%3D+'
         44        CONCAT                                           ~44     ~43, !3
         45        ECHO                                                     ~44
    7    46    > > JMP                                                      ->5
         47    >   FE_FREE                                                  $11
   23    48      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.2 ms | 969 KiB | 13 Q