convert this pseudocode to actual php code please!

function bytexor($0,$1) {
#0 !a = RECV(None, None);
#1 !b = RECV(None, None);
#2 !c = QM_ASSIGN(‘’, None);
#3 !i = QM_ASSIGN(0, None);
#4 JMP(->10, None);
#5 $10 = FETCH_DIM_R(!a, !i);
#6 $11 = FETCH_DIM_R(!b, !i);
#7 ~9 = BW_XOR($10, $11);
#8 ASSIGN_CONCAT(!c, ~9);
#9 PRE_INC(!i, None);
#10 ~9 = IS_SMALLER(!i, 16);
#11 JMPNZ(~9, ->5);
#12 RETURN(!c, None);

} I want the entire output in JSON format.
user