3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.96 ms | 1392 KiB | 13 Q