3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 5; if ($x > 3) { echo "Hallo"; } else { echo "Nope"; } echo "Bar"; $a = $b = $c = $d = $e = 5;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EuAjV
function name:  (null)
number of ops:  13
compiled vars:  !0 = $x, !1 = $a, !2 = $b, !3 = $c, !4 = $d, !5 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 5
    5     1        IS_SMALLER                                               3, !0
          2      > JMPZ                                                     ~7, ->5
    6     3    >   ECHO                                                     'Hallo'
          4      > JMP                                                      ->6
    8     5    >   ECHO                                                     'Nope'
   10     6    >   ECHO                                                     'Bar'
   11     7        ASSIGN                                           ~8      !5, 5
          8        ASSIGN                                           ~9      !4, ~8
          9        ASSIGN                                           ~10     !3, ~9
         10        ASSIGN                                           ~11     !2, ~10
         11        ASSIGN                                                   !1, ~11
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.71 ms | 1384 KiB | 13 Q