3v4l.org

run code in 300+ PHP versions simultaneously
<?php $columns = <<<'NOWDOC' "icon", "status", "pk_application_id", "created_at", "cluster_description", "departement_description", "filer_name", "application_description", "application_reason_description", "application_group_description", "initial_costs_total", "annual_costs_total", "purchase_preference" NOWDOC; $headers = <<<'NOWDOC' "", "status", "nr", "datum", "cluster", "afdeling", "indiener", "omschrijving", "betreft", "groep", "aanschaf kosten", "jaarlijkse kosten", "gewenst jaar" NOWDOC; $columns = explode(',', preg_replace('/\s++/', '', $columns)); $headers = explode(',', preg_replace('/\s++/', '', $headers)); $size = count($columns); for ($i = 0; $i < $size; $i++) { printf('columns.add(%s); headers.add(%s);', $columns[$i], $headers[$i]); echo PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 26
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 26
Branch analysis from position: 37
Branch analysis from position: 26
filename:       /in/TUk5s
function name:  (null)
number of ops:  38
compiled vars:  !0 = $columns, !1 = $headers, !2 = $size, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '++++%22icon%22%2C+%22status%22%2C+%22pk_application_id%22%2C+%22created_at%22%2C+%22cluster_description%22%2C%0A%09%09%09%22departement_description%22%2C+%22filer_name%22%2C+%22application_description%22%2C+%22application_reason_description%22%2C+%22application_group_description%22%2C%0A%09%09%09%22initial_costs_total%22%2C+%22annual_costs_total%22%2C+%22purchase_preference%22'
    9     1        ASSIGN                                                   !1, '%22%22%2C+%22status%22%2C+%22nr%22%2C+%22datum%22%2C+%22cluster%22%2C+%22afdeling%22%2C+%22indiener%22%2C+%22omschrijving%22%2C%0A%09%09%09%22betreft%22%2C+%22groep%22%2C+%22aanschaf+kosten%22%2C+%22jaarlijkse+kosten%22%2C+%22gewenst+jaar%22'
   14     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%2C'
          4        INIT_FCALL                                               'preg_replace'
          5        SEND_VAL                                                 '%2F%5Cs%2B%2B%2F'
          6        SEND_VAL                                                 ''
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !0, $7
   15    12        INIT_FCALL                                               'explode'
         13        SEND_VAL                                                 '%2C'
         14        INIT_FCALL                                               'preg_replace'
         15        SEND_VAL                                                 '%2F%5Cs%2B%2B%2F'
         16        SEND_VAL                                                 ''
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                         $9      
         19        SEND_VAR                                                 $9
         20        DO_ICALL                                         $10     
         21        ASSIGN                                                   !1, $10
   17    22        COUNT                                            ~12     !0
         23        ASSIGN                                                   !2, ~12
   19    24        ASSIGN                                                   !3, 0
         25      > JMP                                                      ->35
   20    26    >   INIT_FCALL                                               'printf'
         27        SEND_VAL                                                 'columns.add%28%25s%29%3B+headers.add%28%25s%29%3B'
         28        FETCH_DIM_R                                      ~15     !0, !3
         29        SEND_VAL                                                 ~15
         30        FETCH_DIM_R                                      ~16     !1, !3
         31        SEND_VAL                                                 ~16
         32        DO_ICALL                                                 
   21    33        ECHO                                                     '%0A'
   19    34        PRE_INC                                                  !3
         35    >   IS_SMALLER                                               !3, !2
         36      > JMPNZ                                                    ~19, ->26
   22    37    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.94 ms | 1400 KiB | 19 Q