3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.96 ms | 1399 KiB | 21 Q