3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x; switch ($x) { case 0: echo 'buyaka'; break; case NULL: echo 'buyaka'; break; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 2, Position 2 = 5
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
filename:       /in/lDZuh
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   IS_EQUAL                                                 !0, 0
          1      > JMPNZ                                                    ~1, ->5
    5     2    >   IS_EQUAL                                                 !0, null
          3      > JMPNZ                                                    ~1, ->7
          4    > > JMP                                                      ->9
    7     5    >   ECHO                                                     'buyaka'
          6      > JMP                                                      ->9
    8     7    >   ECHO                                                     'buyaka'
          8      > JMP                                                      ->9
    9     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.12 ms | 1393 KiB | 13 Q