3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fh = fopen('/tmp/123.dat', 'a+'); var_dump(stream_get_meta_data($fh)); fclose($fh); unlink('/tmp/123.dat');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/63Phu
function name:  (null)
number of ops:  18
compiled vars:  !0 = $fh
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 '%2Ftmp%2F123.dat'
          2        SEND_VAL                                                 'a%2B'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    5     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'stream_get_meta_data'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
    6    11        INIT_FCALL                                               'fclose'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14        INIT_FCALL                                               'unlink'
         15        SEND_VAL                                                 '%2Ftmp%2F123.dat'
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.72 ms | 1394 KiB | 23 Q