3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pls = "http://listen.di.fm/public3/trance.pls"; $graburl = file_get_contents($pls); preg_match('/(File1=)(.*?)(\n)/i', $graburl , $matches); shell_exec ("wget -O 'stream' ".$matches[2]); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RSiIB
function name:  (null)
number of ops:  16
compiled vars:  !0 = $pls, !1 = $graburl, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Flisten.di.fm%2Fpublic3%2Ftrance.pls'
    3     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    4     5        INIT_FCALL                                               'preg_match'
          6        SEND_VAL                                                 '%2F%28File1%3D%29%28.%2A%3F%29%28%5Cn%29%2Fi'
          7        SEND_VAR                                                 !1
          8        SEND_REF                                                 !2
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'shell_exec'
         11        FETCH_DIM_R                                      ~7      !2, 2
         12        CONCAT                                           ~8      'wget+-O+%27stream%27+', ~7
         13        SEND_VAL                                                 ~8
         14        DO_ICALL                                                 
    6    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.98 ms | 1399 KiB | 19 Q