3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path_del_file_originale = 'foo/bar/test.js'; echo dirname($path_del_file_originale).'/min/'.basename($path_del_file_originale);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DAWCY
function name:  (null)
number of ops:  11
compiled vars:  !0 = $path_del_file_originale
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'foo%2Fbar%2Ftest.js'
    5     1        INIT_FCALL                                               'dirname'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        CONCAT                                           ~3      $2, '%2Fmin%2F'
          5        INIT_FCALL                                               'basename'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        CONCAT                                           ~5      ~3, $4
          9        ECHO                                                     ~5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.76 ms | 1394 KiB | 17 Q