3v4l.org

run code in 300+ PHP versions simultaneously
<?php $counter = 1; while ($xml = simplexml_load_string(file_get_contents("http://www.gog.com/games/feed?format=xml&page=$counter"))) { $counter++; echo $counter; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
Branch analysis from position: 2
filename:       /in/EA4sC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $counter, !1 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1      > JMP                                                      ->4
    5     2    >   PRE_INC                                                  !0
    6     3        ECHO                                                     !0
    3     4    >   INIT_FCALL                                               'simplexml_load_string'
          5        INIT_FCALL                                               'file_get_contents'
          6        NOP                                                      
          7        FAST_CONCAT                                      ~4      'http%3A%2F%2Fwww.gog.com%2Fgames%2Ffeed%3Fformat%3Dxml%26page%3D', !0
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                         $6      
         12        ASSIGN                                           ~7      !1, $6
         13      > JMPNZ                                                    ~7, ->2
    7    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.04 ms | 1386 KiB | 17 Q