3v4l.org

run code in 300+ PHP versions simultaneously
<?php $deleteDir = ""; $deleteDir = realpath($deleteDir); if (!$deleteDir || strpos($deleteDir, 'tmp') === false) { throw new Exception('Could not determine delete directory: ' . $deleteDir); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 19
Branch analysis from position: 14
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/DF2Yd
function name:  (null)
number of ops:  20
compiled vars:  !0 = $deleteDir
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
    4     1        INIT_FCALL                                               'realpath'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    6     5        BOOL_NOT                                         ~4      !0
          6      > JMPNZ_EX                                         ~4      ~4, ->13
          7    >   INIT_FCALL                                               'strpos'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 'tmp'
         10        DO_ICALL                                         $5      
         11        TYPE_CHECK                                    4  ~6      $5
         12        BOOL                                             ~4      ~6
         13    > > JMPZ                                                     ~4, ->19
    7    14    >   NEW                                              $7      'Exception'
         15        CONCAT                                           ~8      'Could+not+determine+delete+directory%3A+', !0
         16        SEND_VAL_EX                                              ~8
         17        DO_FCALL                                      0          
         18      > THROW                                         0          $7
    8    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.45 ms | 1395 KiB | 17 Q