3v4l.org

run code in 300+ PHP versions simultaneously
<? $videoID = '4Tc2rywCU1Q'; $json = file_get_contents('https://www.googleapis.com/youtube/v3/videos?id='.$videoID.'&key=AIzaSyCBCiDOBbN2FHIEGQvl-Yw_xKPMzxGblo0&part=snippet,statistics'); $data = json_decode($json); print $data; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/65psq
function name:  (null)
number of ops:  13
compiled vars:  !0 = $videoID, !1 = $json, !2 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '4Tc2rywCU1Q'
    3     1        INIT_FCALL                                               'file_get_contents'
          2        CONCAT                                           ~4      'https%3A%2F%2Fwww.googleapis.com%2Fyoutube%2Fv3%2Fvideos%3Fid%3D', !0
          3        CONCAT                                           ~5      ~4, '%26key%3DAIzaSyCBCiDOBbN2FHIEGQvl-Yw_xKPMzxGblo0%26part%3Dsnippet%2Cstatistics'
          4        SEND_VAL                                                 ~5
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !1, $6
    4     7        INIT_FCALL                                               'json_decode'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $8      
         10        ASSIGN                                                   !2, $8
    6    11        ECHO                                                     !2
    8    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.53 ms | 939 KiB | 18 Q