3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = tempnam(sys_get_temp_dir(), 'whatever'); unlink($f); mkdir($f); var_dump(stat($f));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZgWKP
function name:  (null)
number of ops:  20
compiled vars:  !0 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'tempnam'
          1        INIT_FCALL                                               'sys_get_temp_dir'
          2        DO_ICALL                                         $1      
          3        SEND_VAR                                                 $1
          4        SEND_VAL                                                 'whatever'
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        INIT_FCALL                                               'unlink'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'mkdir'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
    6    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'stat'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $6      
         17        SEND_VAR                                                 $6
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.39 ms | 1394 KiB | 25 Q