Foam or porous material containing