3v4l.org

run code in 500+ PHP versions simultaneously
<?php $s = stream_socket_server('unix://' .sys_get_temp_dir().'/'. str_repeat('x', 200), $errno, $errstr); var_dump($s, $errno, $errstr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4OPt0
function name:  (null)
number of ops:  21
compiled vars:  !0 = $s, !1 = $errno, !2 = $errstr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'stream_socket_server'
          1        INIT_FCALL                                                   'sys_get_temp_dir'
          2        DO_ICALL                                             $3      
          3        CONCAT                                               ~4      'unix%3A%2F%2F', $3
          4        CONCAT                                               ~5      ~4, '%2F'
          5        INIT_FCALL                                                   'str_repeat'
          6        SEND_VAL                                                     'x'
          7        SEND_VAL                                                     200
          8        DO_ICALL                                             $6      
          9        CONCAT                                               ~7      ~5, $6
         10        SEND_VAL                                                     ~7
         11        SEND_REF                                                     !1
         12        SEND_REF                                                     !2
         13        DO_ICALL                                             $8      
         14        ASSIGN                                                       !0, $8
    4    15        INIT_FCALL                                                   'var_dump'
         16        SEND_VAR                                                     !0
         17        SEND_VAR                                                     !1
         18        SEND_VAR                                                     !2
         19        DO_ICALL                                                     
         20      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.26 ms | 2272 KiB | 16 Q