3v4l.org

run code in 300+ PHP versions simultaneously
<?php $remote_code_version['version'] = '1.1.7'; $site['links_display_mode'] = 0; $r = ( version_compare($remote_code_version['version'], '1.1.2', '<') || version_compare($remote_code_version['version'], '1.1.2', '>=') && version_compare($remote_code_version['version'], '1.2.2', '<') && $site['links_display_mode'] == 0 ); var_dump($r);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 11, Position 2 = 30
Branch analysis from position: 11
2 jumps found. (Code = 46) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
2 jumps found. (Code = 46) Position 1 = 26, Position 2 = 29
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
Branch analysis from position: 25
Branch analysis from position: 30
filename:       /in/u7K5v
function name:  (null)
number of ops:  35
compiled vars:  !0 = $remote_code_version, !1 = $site, !2 = $r
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'version'
          1        OP_DATA                                                  '1.1.7'
    4     2        ASSIGN_DIM                                               !1, 'links_display_mode'
          3        OP_DATA                                                  0
    7     4        INIT_FCALL                                               'version_compare'
          5        FETCH_DIM_R                                      ~5      !0, 'version'
          6        SEND_VAL                                                 ~5
          7        SEND_VAL                                                 '1.1.2'
          8        SEND_VAL                                                 '%3C'
          9        DO_ICALL                                         $6      
         10      > JMPNZ_EX                                         ~7      $6, ->30
    8    11    >   INIT_FCALL                                               'version_compare'
         12        FETCH_DIM_R                                      ~8      !0, 'version'
         13        SEND_VAL                                                 ~8
         14        SEND_VAL                                                 '1.1.2'
         15        SEND_VAL                                                 '%3E%3D'
         16        DO_ICALL                                         $9      
         17      > JMPZ_EX                                          ~10     $9, ->25
    9    18    >   INIT_FCALL                                               'version_compare'
         19        FETCH_DIM_R                                      ~11     !0, 'version'
         20        SEND_VAL                                                 ~11
         21        SEND_VAL                                                 '1.2.2'
         22        SEND_VAL                                                 '%3C'
         23        DO_ICALL                                         $12     
         24        BOOL                                             ~10     $12
         25    > > JMPZ_EX                                          ~10     ~10, ->29
   10    26    >   FETCH_DIM_R                                      ~13     !1, 'links_display_mode'
         27        IS_EQUAL                                         ~14     ~13, 0
         28        BOOL                                             ~10     ~14
         29    >   BOOL                                             ~7      ~10
    7    30    >   ASSIGN                                                   !2, ~7
   13    31        INIT_FCALL                                               'var_dump'
         32        SEND_VAR                                                 !2
         33        DO_ICALL                                                 
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.34 ms | 1396 KiB | 17 Q