3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'http://yoursite.com/?site=http://exapmle.com/&site2=http://google.com/';//$mysite['url'] ; $query = parse_url($str, PHP_URL_QUERY ); parse_str($query, $link);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bqcin
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str, !1 = $query, !2 = $link
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fyoursite.com%2F%3Fsite%3Dhttp%3A%2F%2Fexapmle.com%2F%26site2%3Dhttp%3A%2F%2Fgoogle.com%2F'
    5     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 6
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    6     6        INIT_FCALL                                               'parse_str'
          7        SEND_VAR                                                 !1
          8        SEND_REF                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.74 ms | 1394 KiB | 17 Q