3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = socket_create(AF_UNIX, SOCK_STREAM, 0); echo get_resource_type($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JYO6P
function name:  (null)
number of ops:  13
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'socket_create'
          1        FETCH_CONSTANT                                   ~1      'AF_UNIX'
          2        SEND_VAL_EX                                              ~1
          3        FETCH_CONSTANT                                   ~2      'SOCK_STREAM'
          4        SEND_VAL_EX                                              ~2
          5        SEND_VAL_EX                                              0
          6        DO_FCALL                                      0  $3      
          7        ASSIGN                                                   !0, $3
    3     8        INIT_FCALL                                               'get_resource_type'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.81 ms | 1385 KiB | 15 Q