3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path_parts = pathinfo('/www/htdocs/../inc/../lib.inc.php'); var_dump($path_parts);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mIPne
function name:  (null)
number of ops:  8
compiled vars:  !0 = $path_parts , !1 = $path_parts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       '%C2%A0pathinfo'
          1        SEND_VAL_EX                                              '%2Fwww%2Fhtdocs%2F..%2Finc%2F..%2Flib.inc.php'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.99 ms | 1394 KiB | 15 Q