Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logic Errors in PHP ?
#1
Logic errors occur when an application runs perfectly as far as the PHP engine is concerned, but the code does something other than what you had intended. For example, imagine you have a mailing script that you want to use to send the same message to a few of the members of your online forum. To your horror, you discover upon executing the script that you’ve mailed the entire forum membership … twenty times!


These kinds of problems are the most difficult to find; users of Windows XP will be well acquainted with Windows updates—even big companies struggle with logic errors

Critical to finding logic errors is your ability to test rigorously your code in a safe environment that’s separate from your “live” Web server. Thankfully, PHP and related technologies like Apache and MySQL (if you’re using them) are cross platform, which makes putting together an effective development environment easy even if the underlying operating systems are different.
Reply


Messages In This Thread
Logic Errors in PHP ? - by beingchinmay - 07-02-2016, 04:08 PM
RE: Logic Errors in PHP ? - by RH-Calvin - 07-15-2020, 11:56 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Environment Errors beingchinmay 0 2,863 07-02-2016, 03:50 PM
Last Post: beingchinmay
  How do I resolve errors in my SQL queries? beingchinmay 0 2,922 01-09-2016, 04:30 PM
Last Post: beingchinmay

Forum Jump:


Users browsing this thread: 1 Guest(s)