DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 26th October 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,069
Thanked 198 Times in 156 Posts
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
output to a file in java c0mrade Programming 4 15th October 2009 07:55 AM
dwm status bar won't display apm output asemisldkfj General software and network 6 16th August 2009 11:07 PM
strange dmesg output gosha OpenBSD General 4 11th March 2009 01:10 PM
Digital sound output Zodox FreeBSD General 5 12th November 2008 02:21 PM
daemonforums's font displays horribly in firefox s2scott Feedback and Suggestions 15 8th May 2008 01:18 AM


All times are GMT. The time now is 07:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick