3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = file_get_contents("http://steamcommunity.com/sharedfiles/filedetails/?id=493980032"); $muster = '<a href="http:\/\/steamcommunity.com\/sharedfiles\/filedetails\/\?id=([0-9]+)">'; preg_match_all($muster, $file, $match); $arr = array_unique(array_values($match[1])); sort($arr); foreach($arr as $val) { print $val . "<br/>"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 22, Position 2 = 26
Branch analysis from position: 22
2 jumps found. (Code = 78) Position 1 = 23, Position 2 = 26
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/7Z1RG
function name:  (null)
number of ops:  28
compiled vars:  !0 = $file, !1 = $muster, !2 = $match, !3 = $arr, !4 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fsteamcommunity.com%2Fsharedfiles%2Ffiledetails%2F%3Fid%3D493980032'
          2        DO_ICALL                                         $5      
          3        ASSIGN                                                   !0, $5
    4     4        ASSIGN                                                   !1, '%3Ca+href%3D%22http%3A%5C%2F%5C%2Fsteamcommunity.com%5C%2Fsharedfiles%5C%2Ffiledetails%5C%2F%5C%3Fid%3D%28%5B0-9%5D%2B%29%22%3E'
    6     5        INIT_FCALL                                               'preg_match_all'
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !0
          8        SEND_REF                                                 !2
          9        DO_ICALL                                                 
    8    10        INIT_FCALL                                               'array_unique'
         11        INIT_FCALL                                               'array_values'
         12        FETCH_DIM_R                                      ~9      !2, 1
         13        SEND_VAL                                                 ~9
         14        DO_ICALL                                         $10     
         15        SEND_VAR                                                 $10
         16        DO_ICALL                                         $11     
         17        ASSIGN                                                   !3, $11
    9    18        INIT_FCALL                                               'sort'
         19        SEND_REF                                                 !3
         20        DO_ICALL                                                 
   11    21      > FE_RESET_R                                       $14     !3, ->26
         22    > > FE_FETCH_R                                               $14, !4, ->26
   12    23    >   CONCAT                                           ~15     !4, '%3Cbr%2F%3E'
         24        ECHO                                                     ~15
   11    25      > JMP                                                      ->22
         26    >   FE_FREE                                                  $14
   15    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.85 ms | 1396 KiB | 23 Q