3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "www.youtube.com/watch?v=0EqINqnEa-Y"; $video = parse_url($url, PHP_URL_QUERY)['v']; echo $video;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1k95s
function name:  (null)
number of ops:  9
compiled vars:  !0 = $url, !1 = $video
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'www.youtube.com%2Fwatch%3Fv%3D0EqINqnEa-Y'
    3     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 6
          4        DO_ICALL                                         $3      
          5        FETCH_DIM_R                                      ~4      $3, 'v'
          6        ASSIGN                                                   !1, ~4
    4     7        ECHO                                                     !1
    5     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.16 ms | 1398 KiB | 15 Q