3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?phpheader('Content-Type: text/plain; charset=utf-8;'); $file = file_get_contents("http://www.selfcup.com//api.php?t=m&q=berk");print_r(json_decode($file));?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UlVlf
function name:  (null)
number of ops:  14
compiled vars:  !0 = $file
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   1     0  E >   INIT_FCALL_BY_NAME                                       'phpheader'
         1        SEND_VAL_EX                                              'Content-Type%3A+text%2Fplain%3B+charset%3Dutf-8%3B'
         2        DO_FCALL                                      0          
         3        INIT_FCALL                                               'file_get_contents'
         4        SEND_VAL                                                 'http%3A%2F%2Fwww.selfcup.com%2F%2Fapi.php%3Ft%3Dm%26q%3Dberk'
         5        DO_ICALL                                         $2      
         6        ASSIGN                                                   !0, $2
         7        INIT_FCALL                                               'print_r'
         8        INIT_FCALL                                               'json_decode'
         9        SEND_VAR                                                 !0
        10        DO_ICALL                                         $4      
        11        SEND_VAR                                                 $4
        12        DO_ICALL                                                 
        13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0