3v4l.org

run code in 500+ PHP versions simultaneously
<?php fclose(STDERR); var_dump(@fopen('php://stderr', 'a'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OgYWN
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'fclose'
          1        FETCH_CONSTANT                                       ~0      'STDERR'
          2        SEND_VAL                                                     ~0
          3        DO_ICALL                                                     
    3     4        INIT_FCALL                                                   'var_dump'
          5        BEGIN_SILENCE                                        ~2      
          6        INIT_FCALL                                                   'fopen'
          7        SEND_VAL                                                     'php%3A%2F%2Fstderr'
          8        SEND_VAL                                                     'a'
          9        DO_ICALL                                             $3      
         10        END_SILENCE                                                  ~2
         11        SEND_VAR                                                     $3
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
178.49 ms | 3303 KiB | 16 Q