3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a =parse_url('http://clipr.in/output/product.php?id=24787'); var_dump($a); $a['query']="a=b"; $b = http_build_url($a); echo $a; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UWfu5
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'parse_url'
          1        SEND_VAL                                                 'http%3A%2F%2Fclipr.in%2Foutput%2Fproduct.php%3Fid%3D24787'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    4     7        ASSIGN_DIM                                               !0, 'query'
          8        OP_DATA                                                  'a%3Db'
    5     9        INIT_FCALL_BY_NAME                                       'http_build_url'
         10        SEND_VAR_EX                                              !0
         11        DO_FCALL                                      0  $6      
         12        ASSIGN                                                   !1, $6
    6    13        ECHO                                                     !0
    7    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.75 ms | 1385 KiB | 17 Q