3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = null; $w = [STDIN]; $x = null; stream_select($r, $w, $x, 0); var_dump($r);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rFifQ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $r, !1 = $w, !2 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    4     1        FETCH_CONSTANT                                   ~4      'STDIN'
          2        INIT_ARRAY                                       ~5      ~4
          3        ASSIGN                                                   !1, ~5
    5     4        ASSIGN                                                   !2, null
    7     5        INIT_FCALL                                               'stream_select'
          6        SEND_REF                                                 !0
          7        SEND_REF                                                 !1
          8        SEND_REF                                                 !2
          9        SEND_VAL                                                 0
         10        DO_ICALL                                                 
    9    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.46 ms | 1010 KiB | 15 Q