3v4l.org

run code in 300+ PHP versions simultaneously
<?php $falsey = [ 0, '', '0', null, false, [], ]; $len = count($falsey); for ($i = 0; $i < $len; $i++) { for ($j = 0; $j < $len; $j++) { $a = $falsey[$i]; $b = $falsey[$j]; echo is_array($a) ? '[]' : var_export($a); echo "\t == \t"; echo is_array($b) ? '[]' : var_export($b); echo "; \t// "; var_export($a == $b); echo "\n"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 40
Branch analysis from position: 40
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 5
Branch analysis from position: 42
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 7
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 5
Branch analysis from position: 42
Branch analysis from position: 5
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 7
Branch analysis from position: 39
Branch analysis from position: 7
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 7
Branch analysis from position: 39
Branch analysis from position: 7
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
Branch analysis from position: 25
filename:       /in/D34XB
function name:  (null)
number of ops:  43
compiled vars:  !0 = $falsey, !1 = $len, !2 = $i, !3 = $j, !4 = $a, !5 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        COUNT                                            ~7      !0
          2        ASSIGN                                                   !1, ~7
   14     3        ASSIGN                                                   !2, 0
          4      > JMP                                                      ->40
   15     5    >   ASSIGN                                                   !3, 0
          6      > JMP                                                      ->37
   16     7    >   FETCH_DIM_R                                      ~11     !0, !2
          8        ASSIGN                                                   !4, ~11
   17     9        FETCH_DIM_R                                      ~13     !0, !3
         10        ASSIGN                                                   !5, ~13
   18    11        TYPE_CHECK                                  128          !4
         12      > JMPZ                                                     ~15, ->15
         13    >   QM_ASSIGN                                        ~16     '%5B%5D'
         14      > JMP                                                      ->19
         15    >   INIT_FCALL                                               'var_export'
         16        SEND_VAR                                                 !4
         17        DO_ICALL                                         $17     
         18        QM_ASSIGN                                        ~16     $17
         19    >   ECHO                                                     ~16
   19    20        ECHO                                                     '%09+%3D%3D+%09'
   20    21        TYPE_CHECK                                  128          !5
         22      > JMPZ                                                     ~18, ->25
         23    >   QM_ASSIGN                                        ~19     '%5B%5D'
         24      > JMP                                                      ->29
         25    >   INIT_FCALL                                               'var_export'
         26        SEND_VAR                                                 !5
         27        DO_ICALL                                         $20     
         28        QM_ASSIGN                                        ~19     $20
         29    >   ECHO                                                     ~19
   21    30        ECHO                                                     '%3B+%09%2F%2F+'
   22    31        INIT_FCALL                                               'var_export'
         32        IS_EQUAL                                         ~21     !4, !5
         33        SEND_VAL                                                 ~21
         34        DO_ICALL                                                 
   23    35        ECHO                                                     '%0A'
   15    36        PRE_INC                                                  !3
         37    >   IS_SMALLER                                               !3, !1
         38      > JMPNZ                                                    ~24, ->7
   14    39    >   PRE_INC                                                  !2
         40    >   IS_SMALLER                                               !2, !1
         41      > JMPNZ                                                    ~26, ->5
   25    42    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.83 ms | 1003 KiB | 14 Q