3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo function_exists("socket_import_stream"), "\n"; echo defined("SOL_SOCKET"), "\n"; echo defined("SO_KEEPALIVE"), "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rToJK
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'socket_import_stream'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
          4        ECHO                                                     '%0A'
    3     5        DEFINED                                          ~1      'SOL_SOCKET'
          6        ECHO                                                     ~1
          7        ECHO                                                     '%0A'
    4     8        DEFINED                                          ~2      'SO_KEEPALIVE'
          9        ECHO                                                     ~2
         10        ECHO                                                     '%0A'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.25 ms | 1394 KiB | 15 Q