3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params = array('http' => array( 'method' => 'POST', 'content' => "answer[]=4148" )); $ctx = stream_context_create($params); $fp = fopen("http://apps.regiocast.de/MasterVoting/app/pub/index.php?id=893", 'rb', false, $ctx); if (!$fp) { throw new Exception("Problem with http://apps.regiocast.de/MasterVoting/app/pub/index.php?id=893"); } $response = @stream_get_contents($fp); if ($response === false) { throw new Exception("Problem reading data from http://apps.regiocast.de/MasterVoting/app/pub/index.php?id=893"); } echo $response;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 18
Branch analysis from position: 14
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 30
Branch analysis from position: 26
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0FGa5
function name:  (null)
number of ops:  32
compiled vars:  !0 = $params, !1 = $ctx, !2 = $fp, !3 = $response
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    6     1        INIT_FCALL                                               'stream_context_create'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    7     5        INIT_FCALL                                               'fopen'
          6        SEND_VAL                                                 'http%3A%2F%2Fapps.regiocast.de%2FMasterVoting%2Fapp%2Fpub%2Findex.php%3Fid%3D893'
          7        SEND_VAL                                                 'rb'
          8        SEND_VAL                                                 <false>
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    8    12        BOOL_NOT                                         ~9      !2
         13      > JMPZ                                                     ~9, ->18
    9    14    >   NEW                                              $10     'Exception'
         15        SEND_VAL_EX                                              'Problem+with+http%3A%2F%2Fapps.regiocast.de%2FMasterVoting%2Fapp%2Fpub%2Findex.php%3Fid%3D893'
         16        DO_FCALL                                      0          
         17      > THROW                                         0          $10
   11    18    >   BEGIN_SILENCE                                    ~12     
         19        INIT_FCALL                                               'stream_get_contents'
         20        SEND_VAR                                                 !2
         21        DO_ICALL                                         $13     
         22        END_SILENCE                                              ~12
         23        ASSIGN                                                   !3, $13
   12    24        TYPE_CHECK                                    4          !3
         25      > JMPZ                                                     ~15, ->30
   13    26    >   NEW                                              $16     'Exception'
         27        SEND_VAL_EX                                              'Problem+reading+data+from+http%3A%2F%2Fapps.regiocast.de%2FMasterVoting%2Fapp%2Fpub%2Findex.php%3Fid%3D893'
         28        DO_FCALL                                      0          
         29      > THROW                                         0          $16
   15    30    >   ECHO                                                     !3
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.22 ms | 1462 KiB | 16 Q