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']; $values = []; foreach ($queueFields as $field) { $values[] = $$field; } $taskPath .= implode('_', $values) . '.task';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/j7mVa
function name:  (null)
number of ops:  24
compiled vars:  !0 = $priority, !1 = $time, !2 = $tenant, !3 = $backend, !4 = $fileId, !5 = $extension, !6 = $taskType, !7 = $tasksPath, !8 = $queueFields, !9 = $values, !10 = $field, !11 = $taskPath
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        ASSIGN                                                   !9, <array>
   13    10      > FE_RESET_R                                       $22     !8, ->16
         11    > > FE_FETCH_R                                               $22, !10, ->16
   14    12    >   FETCH_R                      local               ~24     !10
         13        ASSIGN_DIM                                               !9
         14        OP_DATA                                                  ~24
   13    15      > JMP                                                      ->11
         16    >   FE_FREE                                                  $22
   16    17        INIT_FCALL                                               'implode'
         18        SEND_VAL                                                 '_'
         19        SEND_VAR                                                 !9
         20        DO_ICALL                                         $25     
         21        CONCAT                                           ~26     $25, '.task'
         22        ASSIGN_OP                                     8          !11, ~26
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.46 ms | 1387 KiB | 15 Q