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()

Share

No related posts.

Post a Comment