3v4l.org

run code in 300+ PHP versions simultaneously
<?php $joomlaRelease = '5.3'; // Check for each major version branch, default to 3.x as the oldest version supported by the client is Joomla 3.2 if (version_compare($joomlaRelease, '6.0', '>=')) { echo "60"; } elseif (version_compare($joomlaRelease, '5.0', '>=')) { echo "50"; } elseif (version_compare($joomlaRelease, '4.0', '>=')) { echo "40"; } else { echo "30"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OIurh
function name:  (null)
number of ops:  27
compiled vars:  !0 = $joomlaRelease
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '5.3'
    6     1        INIT_FCALL                                               'version_compare'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '6.0'
          4        SEND_VAL                                                 '%3E%3D'
          5        DO_ICALL                                         $2      
          6      > JMPZ                                                     $2, ->9
    8     7    >   ECHO                                                     '60'
    6     8      > JMP                                                      ->26
   10     9    >   INIT_FCALL                                               'version_compare'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 '5.0'
         12        SEND_VAL                                                 '%3E%3D'
         13        DO_ICALL                                         $3      
         14      > JMPZ                                                     $3, ->17
   12    15    >   ECHO                                                     '50'
   10    16      > JMP                                                      ->26
   15    17    >   INIT_FCALL                                               'version_compare'
         18        SEND_VAR                                                 !0
         19        SEND_VAL                                                 '4.0'
         20        SEND_VAL                                                 '%3E%3D'
         21        DO_ICALL                                         $4      
         22      > JMPZ                                                     $4, ->25
   17    23    >   ECHO                                                     '40'
   15    24      > JMP                                                      ->26
   21    25    >   ECHO                                                     '30'
   22    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.75 ms | 1001 KiB | 14 Q