3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://providers.cloudsoftphone.com/lib/prettyqr/createQR.php'; $fields = array( 'user'=> 123, 'pass'=> 321, 'cloudid'=> 'test', 'format'=> 'png' ); $options = array( 'http' => array( 'header' => 'Content-type: application/x-www-form-urlencoded', 'method' => 'GET', 'content' => http_build_query($fields) ) ); $context = stream_context_create($options); $result = file_get_contents($url, false, $context); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mRYvg
function name:  (null)
number of ops:  24
compiled vars:  !0 = $url, !1 = $fields, !2 = $options, !3 = $context, !4 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fproviders.cloudsoftphone.com%2Flib%2Fprettyqr%2FcreateQR.php'
    3     1        ASSIGN                                                   !1, <array>
   12     2        INIT_ARRAY                                       ~7      'Content-type%3A+application%2Fx-www-form-urlencoded', 'header'
   13     3        ADD_ARRAY_ELEMENT                                ~7      'GET', 'method'
   14     4        INIT_FCALL                                               'http_build_query'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $8      
          7        ADD_ARRAY_ELEMENT                                ~7      $8, 'content'
          8        INIT_ARRAY                                       ~9      ~7, 'http'
   10     9        ASSIGN                                                   !2, ~9
   17    10        INIT_FCALL                                               'stream_context_create'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                         $11     
         13        ASSIGN                                                   !3, $11
   18    14        INIT_FCALL                                               'file_get_contents'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 <false>
         17        SEND_VAR                                                 !3
         18        DO_ICALL                                         $13     
         19        ASSIGN                                                   !4, $13
   19    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !4
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.13 ms | 1395 KiB | 21 Q