3v4l.org

run code in 300+ PHP versions simultaneously
<?php $socket_context = stream_context_create($options = array()); $socket = stream_socket_client ( 'example.com' . ":" . 80, $errno, $errstr, $timeout, STREAM_CLIENT_CONNECT, $socket_context ); print_r($errstr); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PRSZB
function name:  (null)
number of ops:  18
compiled vars:  !0 = $socket_context, !1 = $options, !2 = $socket, !3 = $errno, !4 = $errstr, !5 = $timeout
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'stream_context_create'
          1        ASSIGN                                           ~6      !1, <array>
          2        SEND_VAL                                                 ~6
          3        DO_ICALL                                         $7      
          4        ASSIGN                                                   !0, $7
    4     5        INIT_FCALL                                               'stream_socket_client'
    6     6        SEND_VAL                                                 'example.com%3A80'
    7     7        SEND_REF                                                 !3
    8     8        SEND_REF                                                 !4
    9     9        SEND_VAR                                                 !5
   10    10        SEND_VAL                                                 4
   11    11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $9      
    4    13        ASSIGN                                                   !2, $9
   14    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !4
         16        DO_ICALL                                                 
   16    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.65 ms | 1394 KiB | 19 Q