3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.example.com/'; $rel = 'path/to/somewhere#foo?baz=quix'; var_dump(parse_url($y));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3hnKi
function name:  (null)
number of ops:  9
compiled vars:  !0 = $url, !1 = $rel, !2 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.example.com%2F'
    4     1        ASSIGN                                                   !1, 'path%2Fto%2Fsomewhere%23foo%3Fbaz%3Dquix'
    6     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'parse_url'
          4        SEND_VAR                                                 !2
          5        DO_ICALL                                         $5      
          6        SEND_VAR                                                 $5
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.89 ms | 1394 KiB | 17 Q