Man of Honour
- Joined
- 15 Nov 2005
- Posts
- 2,124
- Location
- Basingstoke, UK
I only found this recently, is now a fave!Beansprout said:TDWTF is hilarious![]()
![]()
I only found this recently, is now a fave!Beansprout said:TDWTF is hilarious![]()
![]()
Visage said:Brillant!
The REAL WTF is that you read them.robmiller said:first post
enterprise!!!
The comments on TDWTF are almost of Slashdot calibre![]()
Inquisitor said:The REAL WTF is that you read them.
Oh wait...![]()
True, it was mainly intended as a take on the "The real WTF is..." thing on TDWTFrobmiller said:Nah, there are diamonds in the rough that make it worth trawling through the crap.
MVC + Obfuscation for the win.Dj_Jestar said:MVC for the win.
class B { private $b; function gB () { if (is_bool($this->b) !== false) {
return (bool) $this->b; } else { throw new Exception ('I pity the foo that ' .
'tries to retrieve a value before they have set it!'); } } function B ($v =
null) { if (is_bool($v) !== false) { $this->b = (bool) $v; } else { throw new
Exception ('Wtf? Why are you trying to set a Boolean to anything but a ' .
'Boolean value, foo?'); } } function fB () { if (is_bool($this->b) !== false) {
$this->b = (bool) !$this->b; } else { throw new Exception ('GADDAMIT! You ' .
'can\'t flip a value that doesn\'t exist, foo!'); } } };
$_=gehr;$£=create_function('$£',base64_decode('cmV0dXJuIHN0cl9yb3QxMygkoyk7'));switch
((bool)call_user_func($£,$_)){case$_=call_user_func($£,'gehr'):$_=false;break;case$_=
call_user_func($£,'snyfr'):$_=true;break;default:var_dump(join("",func_get_args()));}
Inquisitor said:True, it was mainly intended as a take on the "The real WTF is..." thing on TDWTF![]()
Why these fora prohibit all the various swear words yet something this unspeakable manages to get through, repeated by a Don no less, is completely beyond me. Don't even mention it in jestBerserker said:COBOL
<?php
function _(&$_){$£=create_function('$£=0',base64_decode('cmV0dXJuIHN0cl9yb3QxMygkoyk7'));
switch($_){case call_user_func($£,'1'):$_=false;break;case call_user_func($£,''):$_=true;
break;default:var_dump(join("\n",array()));break;}}
$_ = true;
_($_);
var_dump($_);
?>
Berserker said:That's cheating though - using precompiled binary functions and calling them on the fly. Luckily that doesn't fall foul of the likes of the no-execute bit as Perl (like PHP) is interpreted.
Working for a company whose software assets include a COBOL compiler and interpreter-based runtime helps at times like this.![]()
The language is stuck in a timewarp, but there's billions of lines of code out there. Customers willing to pay six or seven digit sums to us for our software can't be wrong. Pays my salary anyway.phykell said:Why these fora prohibit all the various swear words yet something this unspeakable manages to get through, repeated by a Don no less, is completely beyond me. Don't even mention it in jest![]()
As a primarily C/C++ specialist, I'm biding my timeBerserker said:The language is stuck in a timewarp, but there's billions of lines of code out there. Customers willing to pay six or seven digit sums to us for our software can't be wrong. Pays my salary anyway.![]()
F6 D0
34 FF
phykell said:As a primarily C/C++ specialist, I'm biding my time![]()
Berserker said:Looks like I've stumped everyone on the codes. \o/
Shall I offer a clue?![]()