PHP "riddle"
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #1
PHP "riddle"
I'm clearly bored writing this post.
Take this PHP function:

PHP Code:
function test_equality($a, $b, $c) {
    var_dump($a==$b, $a==$c, $b==$c);
}

A certain set of inputs ($a, $b and $c) will cause the function to produce the following output:

Code:
bool(true)
bool(true)
bool(false)


Provide one such sample input to the function.


My Blog
03-10-2011 01:54 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
PHP "riddle" - ZiNgA BuRgA - 03-10-2011 01:54 PM
RE: PHP "riddle" - Firefox Wins - 03-12-2011, 08:48 PM
RE: PHP "riddle" - RateU - 03-13-2011, 05:09 AM
RE: PHP "riddle" - ZiNgA BuRgA - 03-13-2011, 09:06 AM

 Standard Tools
Forum Jump: