View Single Post
  #1   (View Single Post)  
Old 26th October 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default PHP displays no output what-so-ever on some errors.

Note: This discussion was originally in "Funny stuff" and moved to a new thread.

I don't think I've ever seen a simple string been put that awkwardly as that. I find it hard to believe it's possible.

Worst thing is, PHP errors suck.

Code:
$isengard->Template($vars;)
The semi-colon is in the wrong place. Oops.
PHP will just exit. No error whatever-so-ever. including from the commandline (Just exits with status 255).

I refactored 300 lines of code. Spot the error ... fun fun fun
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote