3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlFile = pathinfo('../edahidden/phocadownload/userupload/esempio-copia.jpg'); function filePathParts($arg1) { echo $arg1['dirname'], "\n"; echo $arg1['basename'], "\n"; echo $arg1['extension'], "\n"; echo $arg1['filename'], "\n"; } filePathParts($xmlFile);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YQIUB
function name:  (null)
number of ops:  8
compiled vars:  !0 = $xmlFile
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'pathinfo'
          1        SEND_VAL                                                 '..%2Fedahidden%2Fphocadownload%2Fuserupload%2Fesempio-copia.jpg'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
   11     4        INIT_FCALL                                               'filepathparts'
          5        SEND_VAR                                                 !0
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Function filepathparts:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YQIUB
function name:  filePathParts
number of ops:  14
compiled vars:  !0 = $arg1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        FETCH_DIM_R                                      ~1      !0, 'dirname'
          2        ECHO                                                     ~1
          3        ECHO                                                     '%0A'
    6     4        FETCH_DIM_R                                      ~2      !0, 'basename'
          5        ECHO                                                     ~2
          6        ECHO                                                     '%0A'
    7     7        FETCH_DIM_R                                      ~3      !0, 'extension'
          8        ECHO                                                     ~3
          9        ECHO                                                     '%0A'
    8    10        FETCH_DIM_R                                      ~4      !0, 'filename'
         11        ECHO                                                     ~4
         12        ECHO                                                     '%0A'
    9    13      > RETURN                                                   null

End of function filepathparts

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.17 ms | 1398 KiB | 16 Q