3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contextOptions = [ 'ssl' => [ 'verify_peer' => true, 'cafile' => '/path/to/cafile.pem', 'CN_match' => 'example.com', 'ciphers' => 'HIGH:!SSLv2:!SSLv3', 'disable_compression' => true, ], ]; $context = stream_context_create($contextOptions); $data = file_get_contents('https://example.com/file.ext', false, $context); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lFd6F
function name:  (null)
number of ops:  12
compiled vars:  !0 = $contextOptions, !1 = $context, !2 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        INIT_FCALL                                               'stream_context_create'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
   14     5        INIT_FCALL                                               'file_get_contents'
          6        SEND_VAL                                                 'https%3A%2F%2Fexample.com%2Ffile.ext'
          7        SEND_VAL                                                 <false>
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
   15    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.35 ms | 1385 KiB | 17 Q