01-04-2008, 09:41 PM
|
#9 (permalink)
|
|
The Addict
Join Date: Nov 2007
Posts: 264
Thanks: 2
|
I made this...then read the rules, I broke the majority of the rules
PHP Code:
<?
$a = 1;
$b = 2;
preg_match_all('/[1-9]/',serialize(array($a,$b)),$ar);
$ar = reset($ar);
foreach(array_keys($ar) as $k)
{
$r = next($ar);
if(empty($ar[$k]) or $ar[$k] == $r)
{
unset($ar[$k]);
}
else
{
$a = $ar[$k];
$a = ($a) + (40 / 2 - 10 * .5 - 5.5 * 2 << 5.5 >> 10);
$ar[$k] = $a;
}
}
$r = array_reverse(array_splice($ar,1));
$let = 'a';
while(list(,$v) = each($r))
{
$string .= chr(36) . $let . chr(61) . $v . chr(59);
++$let;
}
ob_start();
eval($string);
ob_get_clean();
var_dump($a);
var_dump($b);
?>
It was still fun though
(I know, nearly everything there is useless)
|
|
|
|