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, true); 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); } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/c8b87
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        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !1, $7
    4     9        IS_EQUAL                                                 !1, null
         10      > JMPZ                                                     ~9, ->14
    5    11    >   ECHO                                                     'Nejde+z%C3%ADskat+informace'
    6    12      > RETURN                                                   null
         13*       JMP                                                      ->27
    8    14    >   FETCH_OBJ_R                                      ~10     !1, 'players'
         15        ASSIGN                                                   !2, ~10
    9    16        FETCH_OBJ_R                                      ~12     !1, 'slots'
         17        ASSIGN                                                   !3, ~12
   10    18        FETCH_CONSTANT                                   ~14     'players'
         19        IS_NOT_EQUAL                                             ~14, 0
         20      > JMPZ                                                     ~15, ->23
   11    21    >   ECHO                                                     'Na+serveru+nikdo+nen%C3%AD%21'
         22      > JMP                                                      ->27
   13    23    >   CONCAT                                           ~16     'Hra%C4%8D%C5%AF+na+serveru%3A+', !2
         24        CONCAT                                           ~17     ~16, '%2F'
         25        CONCAT                                           ~18     ~17, !4
         26        ECHO                                                     ~18
   16    27    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
212.44 ms | 1396 KiB | 17 Q