3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $spotify1="https://itunes.apple.com/search?term="; $spotify2=" - "; $spotify3="&limit=1"; $json_text = file_get_contents("https://itunes.apple.com/search?term=Kylie+Minogue"); $obj = json_decode($json_text); //$total = $obj->resultCount->results; //$img640_url = $obj->resultCount[0]->results[1]->artworkUrl100; echo $img640_url;
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/CUNUr
function name:  (null)
number of ops:  13
compiled vars:  !0 = $spotify1, !1 = $spotify2, !2 = $spotify3, !3 = $json_text, !4 = $obj, !5 = $img640_url
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   6     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fitunes.apple.com%2Fsearch%3Fterm%3D'
   7     1        ASSIGN                                                   !1, '+-+'
   8     2        ASSIGN                                                   !2, '%26limit%3D1'
  14     3        INIT_FCALL                                               'file_get_contents'
         4        SEND_VAL                                                 'https%3A%2F%2Fitunes.apple.com%2Fsearch%3Fterm%3DKylie%2BMinogue'
         5        DO_ICALL                                         $9      
         6        ASSIGN                                                   !3, $9
  20     7        INIT_FCALL                                               'json_decode'
         8        SEND_VAR                                                 !3
         9        DO_ICALL                                         $11     
        10        ASSIGN                                                   !4, $11
  23    11        ECHO                                                     !5
        12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0