3v4l.org

run code in 300+ PHP versions simultaneously
<?php $image = file_get_contents('http://i.imgur.com/06j7BR2.gif'); $json = json_encode($image); echo $json;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QcqXe
function name:  (null)
number of ops:  10
compiled vars:  !0 = $image, !1 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fi.imgur.com%2F06j7BR2.gif'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'json_encode'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    6     8        ECHO                                                     !1
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.37 ms | 1393 KiB | 17 Q