3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0; $b = ""; if ($a != $b) { echo "ehy, <$a> and <$b> are different!?!?!?!?!?\n"; } else { echo "ehy, <$a> and <$b> are the same!?!?!?!?!?\n"; } echo "ok, i was joking!\n"; if ($a !== $b) { echo "now, <$a> and <$b> are really different!\n"; } else { echo "now, <$a> and <$b> are really the same!\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 11
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 27
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 27
Branch analysis from position: 20
Branch analysis from position: 27
filename:       /in/eMbbT
function name:  (null)
number of ops:  34
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, ''
    4     2        IS_NOT_EQUAL                                             !0, !1
          3      > JMPZ                                                     ~4, ->11
    5     4    >   ROPE_INIT                                     5  ~6      'ehy%2C+%3C'
          5        ROPE_ADD                                      1  ~6      ~6, !0
          6        ROPE_ADD                                      2  ~6      ~6, '%3E+and+%3C'
          7        ROPE_ADD                                      3  ~6      ~6, !1
          8        ROPE_END                                      4  ~5      ~6, '%3E+are+different%21%3F%21%3F%21%3F%21%3F%21%3F%0A'
          9        ECHO                                                     ~5
    4    10      > JMP                                                      ->17
    7    11    >   ROPE_INIT                                     5  ~10     'ehy%2C+%3C'
         12        ROPE_ADD                                      1  ~10     ~10, !0
         13        ROPE_ADD                                      2  ~10     ~10, '%3E+and+%3C'
         14        ROPE_ADD                                      3  ~10     ~10, !1
         15        ROPE_END                                      4  ~9      ~10, '%3E+are+the+same%21%3F%21%3F%21%3F%21%3F%21%3F%0A'
         16        ECHO                                                     ~9
    9    17    >   ECHO                                                     'ok%2C+i+was+joking%21%0A'
   10    18        IS_NOT_IDENTICAL                                         !0, !1
         19      > JMPZ                                                     ~13, ->27
   11    20    >   ROPE_INIT                                     5  ~15     'now%2C+%3C'
         21        ROPE_ADD                                      1  ~15     ~15, !0
         22        ROPE_ADD                                      2  ~15     ~15, '%3E+and+%3C'
         23        ROPE_ADD                                      3  ~15     ~15, !1
         24        ROPE_END                                      4  ~14     ~15, '%3E+are+really+different%21%0A'
         25        ECHO                                                     ~14
   10    26      > JMP                                                      ->33
   13    27    >   ROPE_INIT                                     5  ~19     'now%2C+%3C'
         28        ROPE_ADD                                      1  ~19     ~19, !0
         29        ROPE_ADD                                      2  ~19     ~19, '%3E+and+%3C'
         30        ROPE_ADD                                      3  ~19     ~19, !1
         31        ROPE_END                                      4  ~18     ~19, '%3E+are+really+the+same%21%0A'
         32        ECHO                                                     ~18
   14    33    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.06 ms | 1000 KiB | 13 Q