I don't think you can do that. Your PS3 HDMI port is an OUT port. Your laptop's HDMI port is also an OUT port.
The cable will probably fit (HDMI cables are the same on either end, and all HDMI ports are the same, AFAIK), but I doubt it will work.
Also, I'm not sure how intelligent the HDMI standard and technical design is, but I would be scared to connect an HDMI out port to another HDMI out port - it might screw up something, like maybe your graphics cards (on PS3 and laptop!) or something else...
You can connect it to an LCD screen though, one that has an HDMI IN port, or an HDTV with an HDMI IN port.