3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ if (! @unlink($cant_delete_this_file) ) { throw new Exception("failed to unlink $cant_delete_this_file"); } }catch( e ){ log( e.message ); log( error_get_last() ); error_clear_last(); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 14
Branch analysis from position: 14
2 jumps found. (Code = 107) Position 1 = 15, Position 2 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JeBYj
function name:  (null)
number of ops:  29
compiled vars:  !0 = $cant_delete_this_file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~1      
          1        INIT_FCALL                                               'unlink'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        END_SILENCE                                              ~1
          5        BOOL_NOT                                         ~3      $2
          6      > JMPZ                                                     ~3, ->13
    4     7    >   NEW                                              $4      'Exception'
          8        NOP                                                      
          9        FAST_CONCAT                                      ~5      'failed+to+unlink+', !0
         10        SEND_VAL_EX                                              ~5
         11        DO_FCALL                                      0          
         12      > THROW                                         0          $4
         13    > > JMP                                                      ->28
    6    14  E > > CATCH                                       last         'e'
    7    15    >   INIT_FCALL                                               'log'
         16        FETCH_CONSTANT                                   ~7      'e'
         17        FETCH_CONSTANT                                   ~8      'message'
         18        CONCAT                                           ~9      ~7, ~8
         19        SEND_VAL                                                 ~9
         20        DO_ICALL                                                 
    8    21        INIT_FCALL                                               'log'
         22        INIT_FCALL                                               'error_get_last'
         23        DO_ICALL                                         $11     
         24        SEND_VAR                                                 $11
         25        DO_ICALL                                                 
    9    26        INIT_FCALL                                               'error_clear_last'
         27        DO_ICALL                                                 
   10    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.26 ms | 1396 KiB | 21 Q