concatenating < or > not working



hello,
if i do $replace='<'.$key.'>'; it doesnt work as expected! i'm a little confused any help?
.