3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.44 ms | 1394 KiB | 19 Q