3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt=2; if($txt<=5) { echo ("txt is less than 5 $txt"); } else { echo ("txt is greater than 5 $txt"); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sd0Vm
function name:  (null)
number of ops:  11
compiled vars:  !0 = $txt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 2
    3     1        IS_SMALLER_OR_EQUAL                                      !0, 5
          2      > JMPZ                                                     ~2, ->7
    5     3    >   NOP                                                      
          4        FAST_CONCAT                                      ~3      'txt+is+less+than+5+', !0
          5        ECHO                                                     ~3
          6      > JMP                                                      ->10
    9     7    >   NOP                                                      
          8        FAST_CONCAT                                      ~4      'txt+is+greater+than+5+', !0
          9        ECHO                                                     ~4
   11    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.65 ms | 1393 KiB | 13 Q