I have found sketch of something like this in my notebook. It says only XOR. My question is if this is any valid logic gate? And can you explain me this emitter connected to base thing?
It looks to me like it's a weird inverter. But it also looks like a circuit designed to destroy a transistor, because 5V reverse bias B-E is not good idea.