3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.mydomain.com/abc/'; print_r(parse_url($url)); echo parse_url($url, PHP_URL_PATH);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uDl1X
function name:  (null)
number of ops:  13
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.mydomain.com%2Fabc%2F'
    5     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'parse_url'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'parse_url'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 5
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.76 ms | 1385 KiB | 17 Q