3v4l.org

run code in 300+ PHP versions simultaneously
<?php function check_user($mcUser) { $check_mcUser = file_get_contents("https://minecraft.net/haspaid.jsp?user='".$mcUser); if ($check_mcUser == "true"){echo"Username Is Premium!";} else {echo "Username Not Premium.";} } // $mcUser = $_GET["mcUser"]; $mcUser = "DanielRHarris"; check_user($mcUser);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mBhPO
function name:  (null)
number of ops:  5
compiled vars:  !0 = $mcUser
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, 'DanielRHarris'
   12     1        INIT_FCALL                                               'check_user'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function check_user:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mBhPO
function name:  check_user
number of ops:  12
compiled vars:  !0 = $mcUser, !1 = $check_mcUser
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'file_get_contents'
          2        CONCAT                                           ~2      'https%3A%2F%2Fminecraft.net%2Fhaspaid.jsp%3Fuser%3D%27', !0
          3        SEND_VAL                                                 ~2
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    5     6        IS_EQUAL                                                 !1, 'true'
          7      > JMPZ                                                     ~5, ->10
          8    >   ECHO                                                     'Username+Is+Premium%21'
          9      > JMP                                                      ->11
    6    10    >   ECHO                                                     'Username+Not+Premium.'
    7    11    > > RETURN                                                   null

End of function check_user

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
201.02 ms | 1389 KiB | 16 Q