I just wrote "if (!$retval) {". In C code. :facepalm:
From Andrei Zmievski via Twitter.
Andrei is a leader in the PHP community, spearheading PHP development and bringing us closer to PHP6.
Just goes to show that developers are human too. (Sorta.)
Posted in FAIL | 1 Comment »
Screwed by the Goog!

Posted in FAIL | No Comments »
Found on http://www.americanbaby.com/404.html (You need to disable javascript before loading to see it.)
<body onLoad="redirect()">
<!-- this is a comment
the whole thing
please disregard this
unless you're Bill GAtes and
in which case this is all your fault
-->
</html>
Ugh. Gotta love Microsoft’s inability to adhere to standards.
Also, see this: Open Letter to IE6 for 2009
Posted in FAIL | No Comments »
This method is supposed to determine if a post is a draft or not. I’ll let it speak for itself.
public function __get_draft() {
if ($this->visible == 0 && $this->archived == 0 && $this->deleted = 0) {
return true;
} else {
return true;
}
}
Posted in FAIL | No Comments »