3v4l.org

run code in 300+ PHP versions simultaneously
<?php $collectors_list="Sieben Ochs,e8575269-de9f-45c3-a6d1-57d76eddc6a8,0.040000,1440900901,4,Joe,ie8575269-de9f-45c3-a6d1-57d76eddc6a8,0.080000,1440900901,i4,Joe,ie8575269-de9f-45c3-a6d1-57d76eddc6a8,0.140000,1440900901,i4"; //$collections_array = explode(",", $collectors_list); $collections_array = str_getcsv($collectors_list); $len = count($collections_array)/5; $i = 0; do { $citizen_name = $collections_array[$i]; $citizen_uuid = $collections_array[$i+1]; $amount = $collections_array[$i+2]; echo $amount; $i+=5; } while ($i < $len); //echo "processing,".$collectors_list;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 9
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/aN9PP
function name:  (null)
number of ops:  22
compiled vars:  !0 = $collectors_list, !1 = $collections_array, !2 = $len, !3 = $i, !4 = $citizen_name, !5 = $citizen_uuid, !6 = $amount
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Sieben+Ochs%2Ce8575269-de9f-45c3-a6d1-57d76eddc6a8%2C0.040000%2C1440900901%2C4%2CJoe%2Cie8575269-de9f-45c3-a6d1-57d76eddc6a8%2C0.080000%2C1440900901%2Ci4%2CJoe%2Cie8575269-de9f-45c3-a6d1-57d76eddc6a8%2C0.140000%2C1440900901%2Ci4'
    6     1        INIT_FCALL                                               'str_getcsv'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $8      
          4        ASSIGN                                                   !1, $8
    7     5        COUNT                                            ~10     !1
          6        DIV                                              ~11     ~10, 5
          7        ASSIGN                                                   !2, ~11
    8     8        ASSIGN                                                   !3, 0
   11     9    >   FETCH_DIM_R                                      ~14     !1, !3
         10        ASSIGN                                                   !4, ~14
   12    11        ADD                                              ~16     !3, 1
         12        FETCH_DIM_R                                      ~17     !1, ~16
         13        ASSIGN                                                   !5, ~17
   13    14        ADD                                              ~19     !3, 2
         15        FETCH_DIM_R                                      ~20     !1, ~19
         16        ASSIGN                                                   !6, ~20
   14    17        ECHO                                                     !6
   15    18        ASSIGN_OP                                     1          !3, 5
   16    19        IS_SMALLER                                               !3, !2
         20      > JMPNZ                                                    ~23, ->9
   18    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.4 ms | 1399 KiB | 15 Q