![]() |
The most inventive way to get the number 8
So, the other thread had a bit of fun behind it, so I figured maybe try starting another, similar thread? This one will be based around getting the number 8.
I'll follow the same structure from the other thread. This would be the simplest method to get this answer, however be sure to read the rules! PHP Code:
I'll start off with two examples to show the diversity in which rules can be followed, although i'm sure many people will come up with their own interpretations! PHP Code:
PHP Code:
|
Assuming our file is this
PHP Code:
|
Lol, that's just awesome, but it did break a rule ;) You defined degrees as a number ;)
But regardless, it was a great submission. |
Whoops, I'll fix that
Here we go: Assuming our file is this PHP Code:
|
I don't think that's a cheap way at all x] You didn't directly assign the value, which is completely valid according to the original rules :)
But that being said, hopefully we can see some pretty crazy ways to get the numbers :) I still like your idea though, it was very creative. |
I think I might have done some cheating, but this is my take.
this is using php 5.3 of course |
You did awesome :) But you don't have to intval your $var's, they're already being interpreted by PHP. I'm excited to see what other methods, other than intval people can come up with :)
|
I got bored.
PHP Code:
|
I don't want even to begin to understand what's going on.
But it looks fancy ;P |
awesome salathe, that is a great presentation.
|
Quote:
print chr(56); :-) |
PHP Code:
|
|
| All times are GMT. The time now is 08:51 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0