3v4l.org

run code in 300+ PHP versions simultaneously
<?php $postdata = http_build_query( array( 'regno' => 1 ) ); $opts = array('http' => array( 'method' => 'POST', 'header' => "Content-type: application/x-www-form-urlencoded\r\n" ."Referer: http://www.testious.com/wp-content/themes/OneCommunity/\r\n", 'content' => $postdata ) ); $context = stream_context_create($opts); $result = file_get_contents('http://www.testious.com/wp-content/themes/OneCommunity/captcha/captcha.php', false, $context); echo $result; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LFPfE
function name:  (null)
number of ops:  21
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'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !0, $4
    3     4        INIT_ARRAY                                       ~6      'POST', 'method'
          5        ADD_ARRAY_ELEMENT                                ~6      'Content-type%3A+application%2Fx-www-form-urlencoded%0D%0AReferer%3A+http%3A%2F%2Fwww.testious.com%2Fwp-content%2Fthemes%2FOneCommunity%2F%0D%0A', 'header'
          6        ADD_ARRAY_ELEMENT                                ~6      !0, 'content'
          7        INIT_ARRAY                                       ~7      ~6, 'http'
          8        ASSIGN                                                   !1, ~7
    4     9        INIT_FCALL                                               'stream_context_create'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !2, $9
    5    13        INIT_FCALL                                               'file_get_contents'
         14        SEND_VAL                                                 'http%3A%2F%2Fwww.testious.com%2Fwp-content%2Fthemes%2FOneCommunity%2Fcaptcha%2Fcaptcha.php'
         15        SEND_VAL                                                 <false>
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                         $11     
         18        ASSIGN                                                   !3, $11
    6    19        ECHO                                                     !3
    7    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145 ms | 1007 KiB | 16 Q