3v4l.org

run code in 300+ PHP versions simultaneously
<?php $postdata = http_build_query( array( '__VIEWSTATE' => 'dDwtOTM4MzIzMjk0Ozs+', '_nameTextBox' => 'jan', '_zoekButton' => 'Zoek', 'numberOfLettersField' => '3' ) ); $opts = array('http' => array( 'method' => 'GET', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => $postdata ) ); $context = stream_context_create($opts); $result = file_get_contents('https://kwt.veluwseonderwijsgroep.nl/CupwebWB/Default.aspx', false, $context); var_dump($result); echo "sd";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/97sSA
function name:  (null)
number of ops:  24
compiled vars:  !0 = $postdata, !1 = $opts, !2 = $context, !3 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'http_build_query'
    4     1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $4      
    2     3        ASSIGN                                                   !0, $4
   13     4        INIT_ARRAY                                       ~6      'GET', 'method'
   14     5        ADD_ARRAY_ELEMENT                                ~6      'Content-type%3A+application%2Fx-www-form-urlencoded', 'header'
   15     6        ADD_ARRAY_ELEMENT                                ~6      !0, 'content'
          7        INIT_ARRAY                                       ~7      ~6, 'http'
   11     8        ASSIGN                                                   !1, ~7
   19     9        INIT_FCALL                                               'stream_context_create'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !2, $9
   21    13        INIT_FCALL                                               'file_get_contents'
         14        SEND_VAL                                                 'https%3A%2F%2Fkwt.veluwseonderwijsgroep.nl%2FCupwebWB%2FDefault.aspx'
         15        SEND_VAL                                                 <false>
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                         $11     
         18        ASSIGN                                                   !3, $11
   23    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !3
         21        DO_ICALL                                                 
   24    22        ECHO                                                     'sd'
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.75 ms | 1395 KiB | 21 Q