3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* http://php.net/manual/en/function.socket-create-listen.php Return Values socket_create_listen() returns a new socket resource on success or FALSE on error. The error code can be retrieved with socket_last_error(). This code may be passed to socket_strerror() to get a textual explanation of the error. */ $failure = '1111'; var_export(socket_create_listen($failure)); echo "\n"; var_export(socket_last_error());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bLlST
function name:  (null)
number of ops:  14
compiled vars:  !0 = $failure
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, '1111'
   11     1        INIT_FCALL                                               'var_export'
          2        INIT_FCALL_BY_NAME                                       'socket_create_listen'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0  $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
   12     7        ECHO                                                     '%0A'
   13     8        INIT_FCALL                                               'var_export'
          9        INIT_FCALL_BY_NAME                                       'socket_last_error'
         10        DO_FCALL                                      0  $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.6 ms | 1394 KiB | 15 Q