Originally posted by deenx
Can a virus be embedded in a PHP code.
In fact, if you mean that "can my computer used as a web client be infected by a PHP virus", the answer is as far as I know no.

PHP is a scripting language that is executed on the server, not on the client. So, no risks for the client.

Jean-Francois