3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.26 ms | 1394 KiB | 21 Q