3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "a"; $b = "b"; $a++; $b--; echo "$a $b ", ($a === $b ? 'EQUAL' : 'NOT EQUAL'); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TpJ4W
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a'
    3     1        ASSIGN                                                   !1, 'b'
    5     2        PRE_INC                                                  !0
    6     3        PRE_DEC                                                  !1
    8     4        ROPE_INIT                                     4  ~7      !0
          5        ROPE_ADD                                      1  ~7      ~7, '+'
          6        ROPE_ADD                                      2  ~7      ~7, !1
          7        ROPE_END                                      3  ~6      ~7, '+'
          8        ECHO                                                     ~6
          9        IS_IDENTICAL                                             !0, !1
         10      > JMPZ                                                     ~9, ->13
         11    >   QM_ASSIGN                                        ~10     'EQUAL'
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~10     'NOT+EQUAL'
         14    >   ECHO                                                     ~10
    9    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.51 ms | 1393 KiB | 13 Q