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)); print socket_last_error();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K6cJh
function name:  (null)
number of ops:  11
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        INIT_FCALL_BY_NAME                                       'socket_last_error'
          8        DO_FCALL                                      0  $4      
          9        ECHO                                                     $4
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.58 ms | 1394 KiB | 15 Q