3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://www.youtube.com/watch?v=C4kxS1ksqtw&feature=relate"; parse_str( parse_url( $url, PHP_URL_QUERY ), $my_array_of_vars ); if(isset($my_array_of_vars['v']))echo $my_array_of_vars['v']; // Output: C4kxS1ksqtw ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/vs10R
function name:  (null)
number of ops:  14
compiled vars:  !0 = $url, !1 = $my_array_of_vars
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DC4kxS1ksqtw%26feature%3Drelate'
    3     1        INIT_FCALL                                               'parse_str'
          2        INIT_FCALL                                               'parse_url'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 6
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        SEND_REF                                                 !1
          8        DO_ICALL                                                 
    4     9        ISSET_ISEMPTY_DIM_OBJ                         0          !1, 'v'
         10      > JMPZ                                                     ~5, ->13
         11    >   FETCH_DIM_R                                      ~6      !1, 'v'
         12        ECHO                                                     ~6
    6    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
278.78 ms | 1394 KiB | 18 Q