is it considered unsafe is users can see ur php codes?
As we all know it is possible to see the html, css and javascript codes of any page on internet.(viewing the source code)
i tried to view the php code of websites and discovered that that's not possible.
Is it considered dangerous/unsafe (for the websites security) to allow users to view the php codes?
or is it just that php is server-side scripting language?
is it considered unsafe is users can see ur php codes?
===

As we all know it is possible to see the html, css and javascript codes of any page on internet.(viewing the source code)
i tried to view the php code of websites and discovered that that's not possible.
Is it considered dangerous/unsafe (for the websites security) to allow users to view the php codes?
or is it just that php is server-side scripting language?