PHPFreaks.com: or die() must die

Courtesy PHPDeveloper.org  Fri, 05/29/2009 - 09:28

According to this new article on the PHPFreaks.com site the use of "or die()" in scripts...must die!

I see it all the time, and I see people telling other people to do that all the time.

It's plain simply bad practice and it's time that people start to understand this. When I confront people with it they usually say something along the lines of "oh, but it's just for debugging purposes".

Okay, so I tend to put...


 

More related items

PHPBuilder.com: A Twist In Namespaces
In this new article from PHPBuilder.com they take a look at namespaces, a feature added in the recently released 5.3 version of PHP and a simple example of their use. With PHP5.3--which is...

Installing Nginx With PHP5 (And PHP-FPM) And MySQL...
HowtoForge: "This tutorial shows how you can install Nginx on an OpenSUSE 12.1 server with PHP5 support (through PHP-FPM) and MySQL support."

How SOPA could actually break the internet .
The proposed Stop Online Piracy Act (SOPA) isn't just a bad idea for freedom of speech -- it's shot through with technical issues as well.


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com