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...

DRM, DMCA and OST (Other Scary Things)
It's obvious to most Linux users that Digital Rights Management (DRM) is a really bad idea. It's not just because DRM-encoded media usually won't play with our operating system, but rather...

Why the EU's "browser ballot" is a bad idea
ZDNet: "While I believe that browser diversification is a good thing, I feel that approached used here is a flawed one, and will make Windows user more vulnerable to malware."

SanDisk SDMSM2-008G-A11M 8GB M2 Memory Stick Micro...
The Memory Stick Micro (M2) is approximately one-third the size of the existing Memory Stick PRO Duo. The Memory Stick M2 continues the Memory Stick PRO Duo legacy by supporting full...

Linksys WRT610N Simultaneous Dual-N Band Wireless...
The sleek Simultaneous Dual-N Band WRT610N Router sets a new standard for design, expanded bandwidth, and robust performance. It's the ideal router for all your current and future digital...


 

Post new comment

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