3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'ftp://some.ftp.host.ru/path/to/main.page.htm'; var_dump(parse_url($url)); var_dump(path_info($url));
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/8Mn2W
function name:  (null)
number of ops:  14
compiled vars:  !0 = $url
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'ftp%3A%2F%2Fsome.ftp.host.ru%2Fpath%2Fto%2Fmain.page.htm'
   5     1        INIT_FCALL                                               'var_dump'
         2        INIT_FCALL                                               'parse_url'
         3        SEND_VAR                                                 !0
         4        DO_ICALL                                         $2      
         5        SEND_VAR                                                 $2
         6        DO_ICALL                                                 
   7     7        INIT_FCALL                                               'var_dump'
         8        INIT_FCALL_BY_NAME                                       'path_info'
         9        SEND_VAR_EX                                              !0
        10        DO_FCALL                                      0  $4      
        11        SEND_VAR                                                 $4
        12        DO_ICALL                                                 
        13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0