3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(class_exists("CURLFile")) { echo "CURLFile found"; } elseif(!class_exists("CURLFile")&&PHP_MINOR_VERSION >= 3){ echo "nope"; } else { echo "CURLFile not found. Falling back"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 46) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/1KFbF
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'class_exists'
          1        SEND_VAL                                                 'CURLFile'
          2        DO_ICALL                                         $0      
          3      > JMPZ                                                     $0, ->6
    5     4    >   ECHO                                                     'CURLFile+found'
          5      > JMP                                                      ->16
    7     6    >   INIT_FCALL                                               'class_exists'
          7        SEND_VAL                                                 'CURLFile'
          8        DO_ICALL                                         $1      
          9        BOOL_NOT                                         ~2      $1
         10      > JMPZ_EX                                          ~2      ~2, ->12
         11    >   BOOL                                             ~2      <false>
         12    > > JMPZ                                                     ~2, ->15
    8    13    >   ECHO                                                     'nope'
         14      > JMP                                                      ->16
   12    15    >   ECHO                                                     'CURLFile+not+found.+Falling+back'
   15    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.83 ms | 1395 KiB | 15 Q