3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = file_get_contents('http://query.fakaheda.eu/93.91.250.135:27872.feed'); $obj = json_decode($json); if($obj == null){ echo('Nejde získat informace'); return; }else{ $players = $obj->players; $max_players = $obj->slots; if(players != 0){ echo('Na serveru nikdo není!'); }else{ echo('Hračů na serveru: '.$players.'/'.$slots); } } echo('test'); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TMHbU
function name:  (null)
number of ops:  28
compiled vars:  !0 = $json, !1 = $obj, !2 = $players, !3 = $max_players, !4 = $slots
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fquery.fakaheda.eu%2F93.91.250.135%3A27872.feed'
          2        DO_ICALL                                         $5      
          3        ASSIGN                                                   !0, $5
    3     4        INIT_FCALL                                               'json_decode'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !1, $7
    4     8        IS_EQUAL                                                 !1, null
          9      > JMPZ                                                     ~9, ->13
    5    10    >   ECHO                                                     'Nejde+z%C3%ADskat+informace'
    6    11      > RETURN                                                   null
         12*       JMP                                                      ->26
    8    13    >   FETCH_OBJ_R                                      ~10     !1, 'players'
         14        ASSIGN                                                   !2, ~10
    9    15        FETCH_OBJ_R                                      ~12     !1, 'slots'
         16        ASSIGN                                                   !3, ~12
   10    17        FETCH_CONSTANT                                   ~14     'players'
         18        IS_NOT_EQUAL                                             ~14, 0
         19      > JMPZ                                                     ~15, ->22
   11    20    >   ECHO                                                     'Na+serveru+nikdo+nen%C3%AD%21'
         21      > JMP                                                      ->26
   13    22    >   CONCAT                                           ~16     'Hra%C4%8D%C5%AF+na+serveru%3A+', !2
         23        CONCAT                                           ~17     ~16, '%2F'
         24        CONCAT                                           ~18     ~17, !4
         25        ECHO                                                     ~18
   16    26    >   ECHO                                                     'test'
   17    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.27 ms | 1396 KiB | 17 Q