3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fd1 = fopen("php://stdout", "w"); $fd2 = fopen("php://stdout", "w"); var_dump((int) $fd1, (int) $fd2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OvHUJ
function name:  (null)
number of ops:  17
compiled vars:  !0 = $fd1, !1 = $fd2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 'php%3A%2F%2Fstdout'
          2        SEND_VAL                                                 'w'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'fopen'
          6        SEND_VAL                                                 'php%3A%2F%2Fstdout'
          7        SEND_VAL                                                 'w'
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    6    10        INIT_FCALL                                               'var_dump'
         11        CAST                                          4  ~6      !0
         12        SEND_VAL                                                 ~6
         13        CAST                                          4  ~7      !1
         14        SEND_VAL                                                 ~7
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.24 ms | 1394 KiB | 17 Q