3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.boligsiden.dk/viderestilling/992cff55882a40f79e64b0a25e847a69'; file_get_contents($url); preg_match('/(Location:|URI:)(.*?)\n/', implode("\n", $http_response_header), $matches); if (isset($matches[0])) { echo $matches[0]; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/V9YRo
function name:  (null)
number of ops:  18
compiled vars:  !0 = $url, !1 = $http_response_header, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.boligsiden.dk%2Fviderestilling%2F992cff55882a40f79e64b0a25e847a69'
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'preg_match'
          5        SEND_VAL                                                 '%2F%28Location%3A%7CURI%3A%29%28.%2A%3F%29%5Cn%2F'
          6        INIT_FCALL                                               'implode'
          7        SEND_VAL                                                 '%0A'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        SEND_REF                                                 !2
         12        DO_ICALL                                                 
    7    13        ISSET_ISEMPTY_DIM_OBJ                         0          !2, 0
         14      > JMPZ                                                     ~7, ->17
    9    15    >   FETCH_DIM_R                                      ~8      !2, 0
         16        ECHO                                                     ~8
   10    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.54 ms | 1395 KiB | 19 Q