3v4l.org

run code in 500+ PHP versions simultaneously
<?php $server = stream_socket_server("unix://\0/foo/bar"); var_dump(stream_socket_get_name($server, false)); var_dump(stream_socket_get_name($server, true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RtaV2
function name:  (null)
number of ops:  19
compiled vars:  !0 = $server
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'stream_socket_server'
          1        SEND_VAL                                                     'unix%3A%2F%2F%00%2Ffoo%2Fbar'
          2        DO_ICALL                                             $1      
          3        ASSIGN                                                       !0, $1
    4     4        INIT_FCALL                                                   'var_dump'
          5        INIT_FCALL                                                   'stream_socket_get_name'
          6        SEND_VAR                                                     !0
          7        SEND_VAL                                                     <false>
          8        DO_ICALL                                             $3      
          9        SEND_VAR                                                     $3
         10        DO_ICALL                                                     
    5    11        INIT_FCALL                                                   'var_dump'
         12        INIT_FCALL                                                   'stream_socket_get_name'
         13        SEND_VAR                                                     !0
         14        SEND_VAL                                                     <true>
         15        DO_ICALL                                             $5      
         16        SEND_VAR                                                     $5
         17        DO_ICALL                                                     
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
138.39 ms | 2189 KiB | 16 Q