3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.api.chefkoch.de/api/1.2/api-recipe.php?ID=640221164979273'; $content = file_get_contents($url); $json = json_decode($content, true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HHAsN
function name:  (null)
number of ops:  11
compiled vars:  !0 = $url, !1 = $content, !2 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.api.chefkoch.de%2Fapi%2F1.2%2Fapi-recipe.php%3FID%3D640221164979273'
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        INIT_FCALL                                               'json_decode'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !2, $6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.3 ms | 1394 KiB | 17 Q