3v4l.org

run code in 500+ PHP versions simultaneously
<?php $musicid = 'https://itunes.apple.com/album/the-endless-bridge-single/1146508518?uo=1&v0=9989'; $musicid=explode('/',$musicid); $musicid=explode('?',$musicid[5]); echo $musicid[0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IqlfX
function name:  (null)
number of ops:  15
compiled vars:  !0 = $musicid
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'https%3A%2F%2Fitunes.apple.com%2Falbum%2Fthe-endless-bridge-single%2F1146508518%3Fuo%3D1%26v0%3D9989'
    4     1        INIT_FCALL                                                   'explode'
          2        SEND_VAL                                                     '%2F'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $2      
          5        ASSIGN                                                       !0, $2
    5     6        INIT_FCALL                                                   'explode'
          7        SEND_VAL                                                     '%3F'
          8        FETCH_DIM_R                                          ~4      !0, 5
          9        SEND_VAL                                                     ~4
         10        DO_ICALL                                             $5      
         11        ASSIGN                                                       !0, $5
    6    12        FETCH_DIM_R                                          ~7      !0, 0
         13        ECHO                                                         ~7
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
171.49 ms | 3063 KiB | 14 Q