3v4l.org

run code in 300+ PHP versions simultaneously
<?php $priority = 0; $time = '123123123'; $tenant = 0; $backend = 'file'; $fileId = 500; $extension = 'doc'; $taskType = 'file'; $queueFields = ['priority', 'time', 'tenant', 'backend', 'fileId', 'extension', 'taskType']; $n = count($queueFields); $i = 1; foreach ($queueFields as $field) { $tasksPath .= $$field . (($i++ != $n) ? '_' : '.task'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 23
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 23
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
filename:       /in/WckAJ
function name:  (null)
number of ops:  25
compiled vars:  !0 = $priority, !1 = $time, !2 = $tenant, !3 = $backend, !4 = $fileId, !5 = $extension, !6 = $taskType, !7 = $queueFields, !8 = $n, !9 = $i, !10 = $field, !11 = $tasksPath
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, '123123123'
    4     2        ASSIGN                                                   !2, 0
    5     3        ASSIGN                                                   !3, 'file'
    6     4        ASSIGN                                                   !4, 500
    7     5        ASSIGN                                                   !5, 'doc'
    8     6        ASSIGN                                                   !6, 'file'
   10     7        ASSIGN                                                   !7, <array>
   11     8        COUNT                                            ~20     !7
          9        ASSIGN                                                   !8, ~20
   12    10        ASSIGN                                                   !9, 1
   13    11      > FE_RESET_R                                       $23     !7, ->23
         12    > > FE_FETCH_R                                               $23, !10, ->23
   14    13    >   FETCH_R                      local               ~24     !10
         14        POST_INC                                         ~25     !9
         15        IS_NOT_EQUAL                                             !8, ~25
         16      > JMPZ                                                     ~26, ->19
         17    >   QM_ASSIGN                                        ~27     '_'
         18      > JMP                                                      ->20
         19    >   QM_ASSIGN                                        ~27     '.task'
         20    >   CONCAT                                           ~28     ~24, ~27
         21        ASSIGN_OP                                     8          !11, ~28
   13    22      > JMP                                                      ->12
         23    >   FE_FREE                                                  $23
   15    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.3 ms | 1395 KiB | 13 Q