3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path = "c:/path/to/foo/bar.txt"; basedir($path);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HHpLR
function name:  (null)
number of ops:  5
compiled vars:  !0 = $path
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'c%3A%2Fpath%2Fto%2Ffoo%2Fbar.txt'
    4     1        INIT_FCALL_BY_NAME                                       'basedir'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.67 ms | 1392 KiB | 13 Q