Register now or log in to join your professional community.
Php code is never visible to client. Coz it gets executed on the server and the generated html is sent to the browser.
The only way to secure your code is to secure the Server on which it is hosted.
secure php code in what sense ? php code is not visible to clients/visitors any how.