3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J6b5r
function name:  (null)
number of ops:  42
compiled vars:  !0 = $filename, !1 = $parts, !2 = $project_no, !3 = $series_no, !4 = $sheet_no, !5 = $revision, !6 = $title
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1234_56_78+A_FAIRLY_SHORT_TITLE_D.pdf'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5C.%5B%5E.%5Cs%5D%7B3%2C4%7D%24%2F'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $8      
          6        ASSIGN                                                   !0, $8
    5     7        INIT_FCALL                                               'preg_split'
          8        SEND_VAL                                                 '%28_%7C+%29'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $10     
         11        ASSIGN                                                   !1, $10
    7    12        FETCH_DIM_R                                      ~12     !1, 0
         13        ASSIGN                                                   !2, ~12
    8    14        FETCH_DIM_R                                      ~14     !1, 1
         15        ASSIGN                                                   !3, ~14
    9    16        FETCH_DIM_R                                      ~16     !1, 2
         17        ASSIGN                                                   !4, ~16
   10    18        INIT_FCALL                                               'end'
         19        SEND_REF                                                 !1
         20        DO_ICALL                                         $18     
         21        ASSIGN                                                   !5, $18
   12    22        INIT_FCALL                                               'implode'
         23        SEND_VAL                                                 '+'
         24        INIT_FCALL                                               'array_diff_key'
         25        SEND_VAR                                                 !1
         26        INIT_FCALL                                               'array_flip'
         27        INIT_ARRAY                                       ~20     0
         28        ADD_ARRAY_ELEMENT                                ~20     1
         29        ADD_ARRAY_ELEMENT                                ~20     2
         30        COUNT                                            ~21     !1
         31        SUB                                              ~22     ~21, 1
         32        ADD_ARRAY_ELEMENT                                ~20     ~22
         33        SEND_VAL                                                 ~20
         34        DO_ICALL                                         $23     
         35        SEND_VAR                                                 $23
         36        DO_ICALL                                         $24     
         37        SEND_VAR                                                 $24
         38        DO_ICALL                                         $25     
         39        ASSIGN                                                   !6, $25
   14    40        ECHO                                                     !6
   15    41      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
279.51 ms | 973 KiB | 19 Q