3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "0"; $b = "0.0"; $c = 0; $d = false; if($a == $b) echo "$a == $b\n"; if($a == $c) echo "$a == $c\n"; if($a == $d) echo "$a == $d\n"; if($b == $c) echo "$b == $c\n"; if($b == $d) echo "$b == $d\n"; if($a == $b && $a == $d && $b != $d) echo "Fuck this\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 25
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 32
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 34, Position 2 = 39
Branch analysis from position: 34
2 jumps found. (Code = 46) Position 1 = 41, Position 2 = 43
Branch analysis from position: 41
2 jumps found. (Code = 46) Position 1 = 44, Position 2 = 46
Branch analysis from position: 44
2 jumps found. (Code = 43) Position 1 = 47, Position 2 = 48
Branch analysis from position: 47
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 48
Branch analysis from position: 46
Branch analysis from position: 43
Branch analysis from position: 39
Branch analysis from position: 32
Branch analysis from position: 25
Branch analysis from position: 18
Branch analysis from position: 11
filename:       /in/dFn8X
function name:  (null)
number of ops:  49
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0'
    4     1        ASSIGN                                                   !1, '0.0'
    5     2        ASSIGN                                                   !2, 0
    6     3        ASSIGN                                                   !3, <false>
    7     4        IS_EQUAL                                                 !0, !1
          5      > JMPZ                                                     ~8, ->11
          6    >   ROPE_INIT                                     4  ~10     !0
          7        ROPE_ADD                                      1  ~10     ~10, '+%3D%3D+'
          8        ROPE_ADD                                      2  ~10     ~10, !1
          9        ROPE_END                                      3  ~9      ~10, '%0A'
         10        ECHO                                                     ~9
    8    11    >   IS_EQUAL                                                 !0, !2
         12      > JMPZ                                                     ~12, ->18
         13    >   ROPE_INIT                                     4  ~14     !0
         14        ROPE_ADD                                      1  ~14     ~14, '+%3D%3D+'
         15        ROPE_ADD                                      2  ~14     ~14, !2
         16        ROPE_END                                      3  ~13     ~14, '%0A'
         17        ECHO                                                     ~13
    9    18    >   IS_EQUAL                                                 !0, !3
         19      > JMPZ                                                     ~16, ->25
         20    >   ROPE_INIT                                     4  ~18     !0
         21        ROPE_ADD                                      1  ~18     ~18, '+%3D%3D+'
         22        ROPE_ADD                                      2  ~18     ~18, !3
         23        ROPE_END                                      3  ~17     ~18, '%0A'
         24        ECHO                                                     ~17
   10    25    >   IS_EQUAL                                                 !1, !2
         26      > JMPZ                                                     ~20, ->32
         27    >   ROPE_INIT                                     4  ~22     !1
         28        ROPE_ADD                                      1  ~22     ~22, '+%3D%3D+'
         29        ROPE_ADD                                      2  ~22     ~22, !2
         30        ROPE_END                                      3  ~21     ~22, '%0A'
         31        ECHO                                                     ~21
   11    32    >   IS_EQUAL                                                 !1, !3
         33      > JMPZ                                                     ~24, ->39
         34    >   ROPE_INIT                                     4  ~26     !1
         35        ROPE_ADD                                      1  ~26     ~26, '+%3D%3D+'
         36        ROPE_ADD                                      2  ~26     ~26, !3
         37        ROPE_END                                      3  ~25     ~26, '%0A'
         38        ECHO                                                     ~25
   13    39    >   IS_EQUAL                                         ~28     !0, !1
         40      > JMPZ_EX                                          ~28     ~28, ->43
         41    >   IS_EQUAL                                         ~29     !0, !3
         42        BOOL                                             ~28     ~29
         43    > > JMPZ_EX                                          ~28     ~28, ->46
         44    >   IS_NOT_EQUAL                                     ~30     !1, !3
         45        BOOL                                             ~28     ~30
         46    > > JMPZ                                                     ~28, ->48
         47    >   ECHO                                                     'Fuck+this%0A'
         48    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.57 ms | 1399 KiB | 13 Q