3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 10; echo "$a < ++$a vv"; $b = 11; if (10 < 11 || 11 < 12) print "hello"; else print "hi"; $a = 10; $b = 11; if ($a == ++$a || $b == ++$b) print "hello$a and $b"; else print "hi";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 47) Position 1 = 16, Position 2 = 19
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 26
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
Branch analysis from position: 10
2 jumps found. (Code = 47) Position 1 = 16, Position 2 = 19
Branch analysis from position: 16
Branch analysis from position: 19
filename:       /in/LTBbQ
function name:  (null)
number of ops:  28
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 10
    4     1        ROPE_INIT                                     4  ~4      !0
          2        ROPE_ADD                                      1  ~4      ~4, '+%3C+%2B%2B'
          3        ROPE_ADD                                      2  ~4      ~4, !0
          4        ROPE_END                                      3  ~3      ~4, '+vv'
          5        ECHO                                                     ~3
    5     6        ASSIGN                                                   !1, 11
    6     7      > JMPZ                                                     <true>, ->10
    7     8    >   ECHO                                                     'hello'
          9      > JMP                                                      ->11
    9    10    >   ECHO                                                     'hi'
   11    11    >   ASSIGN                                                   !0, 10
   12    12        ASSIGN                                                   !1, 11
   13    13        PRE_INC                                          ~9      !0
         14        IS_EQUAL                                         ~10     !0, ~9
         15      > JMPNZ_EX                                         ~10     ~10, ->19
         16    >   PRE_INC                                          ~11     !1
         17        IS_EQUAL                                         ~12     !1, ~11
         18        BOOL                                             ~10     ~12
         19    > > JMPZ                                                     ~10, ->26
   14    20    >   ROPE_INIT                                     4  ~14     'hello'
         21        ROPE_ADD                                      1  ~14     ~14, !0
         22        ROPE_ADD                                      2  ~14     ~14, '+and+'
         23        ROPE_END                                      3  ~13     ~14, !1
         24        ECHO                                                     ~13
         25      > JMP                                                      ->27
   16    26    >   ECHO                                                     'hi'
         27    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.07 ms | 1395 KiB | 13 Q