Gotcha of the Day

July 7, 2008 – 4:36 pm

So I’m trying to debug my PHP script and the error stays the same no matter what I add to the end. Hmm…let me check the PHP manual for trigger_error.

It turns out that trigger_error automatically truncates messages to 1024 characters. That’s not very helpful!

Source: PHP Manual - trigger_error()



Was this helpful? Check out these related posts:

  1. Google Chrome: The installer encountered error 4.
  2. Problems Suppressing Errors if Using a Custom Error Handler in PHP
  3. Windows Vista Source Code Released

Post a Comment