3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h=tmpfile(); if($h===false){throw new Exception('tmpfile() failed!');}; //$hh=$h; $h=stream_get_meta_data($h);//pretty sure its deleted here.. $h=$h['uri']; var_dump(fopen($h,'r'));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/74GPp
function name:  (null)
number of ops:  23
compiled vars:  !0 = $h
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'tmpfile'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    4     3        TYPE_CHECK                                    4          !0
          4      > JMPZ                                                     ~3, ->9
          5    >   NEW                                              $4      'Exception'
          6        SEND_VAL_EX                                              'tmpfile%28%29+failed%21'
          7        DO_FCALL                                      0          
          8      > THROW                                         0          $4
    6     9    >   INIT_FCALL                                               'stream_get_meta_data'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !0, $6
    7    13        FETCH_DIM_R                                      ~8      !0, 'uri'
         14        ASSIGN                                                   !0, ~8
    8    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'fopen'
         17        SEND_VAR                                                 !0
         18        SEND_VAL                                                 'r'
         19        DO_ICALL                                         $10     
         20        SEND_VAR                                                 $10
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.77 ms | 1395 KiB | 21 Q