3v4l.org

run code in 300+ PHP versions simultaneously
<?php $priority = 0; $time = '123123123'; $tenant = 0; $backend = 'file'; $fileId = 500; $extension = 'doc'; $taskType = 'file'; $tasksPath = '/tmp/'; $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 = 13, Position 2 = 24
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 24
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
filename:       /in/eQUHH
function name:  (null)
number of ops:  26
compiled vars:  !0 = $priority, !1 = $time, !2 = $tenant, !3 = $backend, !4 = $fileId, !5 = $extension, !6 = $taskType, !7 = $tasksPath, !8 = $queueFields, !9 = $n, !10 = $i, !11 = $field
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'
    9     7        ASSIGN                                                   !7, '%2Ftmp%2F'
   11     8        ASSIGN                                                   !8, <array>
   12     9        COUNT                                            ~21     !8
         10        ASSIGN                                                   !9, ~21
   13    11        ASSIGN                                                   !10, 1
   14    12      > FE_RESET_R                                       $24     !8, ->24
         13    > > FE_FETCH_R                                               $24, !11, ->24
   15    14    >   FETCH_R                      local               ~25     !11
         15        POST_INC                                         ~26     !10
         16        IS_NOT_EQUAL                                             !9, ~26
         17      > JMPZ                                                     ~27, ->20
         18    >   QM_ASSIGN                                        ~28     '_'
         19      > JMP                                                      ->21
         20    >   QM_ASSIGN                                        ~28     '.task'
         21    >   CONCAT                                           ~29     ~25, ~28
         22        ASSIGN_OP                                     8          !7, ~29
   14    23      > JMP                                                      ->13
         24    >   FE_FREE                                                  $24
   16    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.16 ms | 1395 KiB | 13 Q