Click to See Complete Forum and Search --> : Any of you been THIS bored before?


Moonglobe
07-28-2003, 04:56 AM
function do_nothing()
{
if ($args=func_get_args())
{
foreach ($args as $arg)
{
if (!($arg) || (!($arg===1) && !($arg===true))) return false;
else return true;
}

}
else return true;
}

:D

dalecosp
07-29-2003, 01:19 AM
Nö, büt äppärëntly Î'vë bëën *thís* börëd mörë thän öncë...
$y=100;
while ($x<$y) {
$y++;
echo $x;
}

axo
07-29-2003, 10:28 AM
uh i knöw whät yöu meän ...


<?php
/** who is alex? */
function alex($alex) {
$alex = ($alex != $alex) ? alex($alex) : $alex;
return $alex;
}

$alex = "alex";
while($alex == alex($alex)) echo alex($alex);
?>

dalecosp
07-29-2003, 11:28 AM
Well, my bud Moonglobe did this to me the other day ... welcome to the club!!

Parse error: parse error in alex.php on line 11

:D

axo
07-30-2003, 06:29 AM
hahahaha.... you see how bored i was :D

dalecosp
07-30-2003, 10:32 AM
:D :D :D

cyclops
07-30-2003, 12:04 PM
Working to compact this JAPH even more...


<?php
$japh = "7411711511632651101111161041011143";
$japh .= "280728032729799107";
$magic = "233322333333222222223";
for ($i = 0; $i < strlen($magic); $i++) {
echo chr(substr($japh, 0, $magic{$i}));
$japh = substr($japh, $magic{$i});
}
?>


(broke $japh to pieces due 2 board behaving strange)

dalecosp
07-30-2003, 12:55 PM
Hmm, you are bored. Maybe you should go help a newbie or somethin' ... ;)

cyclops
07-31-2003, 05:10 AM
Not before I compacted this JAPH even more :D
It is getting smaller already