3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_clear_last(); if (! @unlink($cant_delete_this_file) ) { $error = error_get_last(); throw new Exception("failed to unlink $cant_delete_this_file: ". ($error["message"] ?? "")); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 23
Branch analysis from position: 9
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AP9fX
function name:  (null)
number of ops:  24
compiled vars:  !0 = $cant_delete_this_file, !1 = $error
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_clear_last'
          1        DO_ICALL                                                 
    3     2        BEGIN_SILENCE                                    ~3      
          3        INIT_FCALL                                               'unlink'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        END_SILENCE                                              ~3
          7        BOOL_NOT                                         ~5      $4
          8      > JMPZ                                                     ~5, ->23
    4     9    >   INIT_FCALL                                               'error_get_last'
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !1, $6
    5    12        NEW                                              $8      'Exception'
         13        ROPE_INIT                                     3  ~10     'failed+to+unlink+'
         14        ROPE_ADD                                      1  ~10     ~10, !0
         15        ROPE_END                                      2  ~9      ~10, '%3A+'
         16        FETCH_DIM_IS                                     ~12     !1, 'message'
         17        COALESCE                                         ~13     ~12
         18        QM_ASSIGN                                        ~13     ''
         19        CONCAT                                           ~14     ~9, ~13
         20        SEND_VAL_EX                                              ~14
         21        DO_FCALL                                      0          
         22      > THROW                                         0          $8
    6    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.81 ms | 1395 KiB | 19 Q