tonyscarpelli Posted October 9, 2012 Share Posted October 9, 2012 I can step through Javascript using Chrome or FireFox, but can't seem to find any way to do that with PHP. Is it possible to step through PHP code? Thanks. Link to comment Share on other sites More sharing options...
Antonio Conte Posted October 9, 2012 Share Posted October 9, 2012 You could use echo as an Easy solutions to make sure how the Logic works. A better an more professional way is debugging in an IDE like Eclipse/NetBeans. It will allow you to set break points in the code, and you can then check the state on types. Another solution is Unit Testing. 1 Link to comment Share on other sites More sharing options...
HartleySan Posted October 9, 2012 Share Posted October 9, 2012 tony, to give you a simple answer, no, you cannot view PHP code from a browser directly because PHP is a server-side technology. The fact that PHP code is not viewable from the client side (i.e., the browser) is a huge reason why PHP is much more secure than Javascript and the like. Link to comment Share on other sites More sharing options...
Recommended Posts