3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!interface_exists('Imagine\Image\ImageInterface')) { if (file_exists(VENDORS . 'imagine.phar')) { include_once 'phar://' . VENDORS . 'imagine.phar'; } else { throw new CakeException( sprintf( 'Download imagine.phar: %s, and extract into vendor: %s', self::IMAGINE_URL, VENDORS ) ); } } return new \Imagine\Gd\Imagine();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 27
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 27
filename:       /in/tvOm3
function name:  (null)
number of ops:  31
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'interface_exists'
          1        SEND_VAL                                                 'Imagine%5CImage%5CImageInterface'
          2        DO_ICALL                                         $0      
          3        BOOL_NOT                                         ~1      $0
          4      > JMPZ                                                     ~1, ->27
    5     5    >   INIT_FCALL                                               'file_exists'
          6        FETCH_CONSTANT                                   ~2      'VENDORS'
          7        CONCAT                                           ~3      ~2, 'imagine.phar'
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10      > JMPZ                                                     $4, ->16
    6    11    >   FETCH_CONSTANT                                   ~5      'VENDORS'
         12        CONCAT                                           ~6      'phar%3A%2F%2F', ~5
         13        CONCAT                                           ~7      ~6, 'imagine.phar'
         14        INCLUDE_OR_EVAL                                          ~7, INCLUDE_ONCE
         15      > JMP                                                      ->27
    8    16    >   NEW                                              $9      'CakeException'
    9    17        INIT_FCALL                                               'sprintf'
   10    18        SEND_VAL                                                 'Download+imagine.phar%3A+%25s%2C+and+extract+into+vendor%3A+%25s'
   11    19        FETCH_CLASS_CONSTANT                             ~10     'IMAGINE_URL'
         20        SEND_VAL                                                 ~10
   12    21        FETCH_CONSTANT                                   ~11     'VENDORS'
         22        SEND_VAL                                                 ~11
         23        DO_ICALL                                         $12     
         24        SEND_VAR_NO_REF_EX                                       $12
         25        DO_FCALL                                      0          
         26      > THROW                                         0          $9
   18    27    >   NEW                                              $14     'Imagine%5CGd%5CImagine'
         28        DO_FCALL                                      0          
         29      > RETURN                                                   $14
         30*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.79 ms | 941 KiB | 20 Q