DEBUGGING
HOW TO DEBUG CODE IN PHP What is debugging in PHP? Where does this strange name come from, and what is this really about? Term debugging is well known to all developers – not only PHP ones. It is a common term for trying to fix the wrongly working script. I don’t want to examine why we call a software error a bug. If you are curious about the origins, check out this link. Debugging is simply getting rid of errors from the software. When you write the code, it often turns out that something doesn’t work as planned. It’s worth knowing how to deal with such problems. You don’t always know where the mistake is made. Sometimes these are trivial errors like missing semicolon at the end of the command or some typo in the name of the method. The better the editor for writing the code, the faster we will catch those trivial errors. Smarter editors even highlight errors immediately, underlining the syntax and suggest proper names. Check out recommended text editor in the PHP development environm...