Something like this had crossed my mind a couple of days or so ago, during the Broken Source discussion. I came up with something at the time (after my first concerted PHP programming effort in over three months :eek: ) as a slogan. It didn't do "Hello World", but this does:
$i=array(0,333/8, -6259/12, 18195/8, -46949/12, 2762);
function ding($v){return'('.$v.')*$x+next($i)';}
$s=array_reduce($i,'ding');
for($x=1;$x<=5;++$x){reset($i);eval('$y['.$x.']=round('.$s.');');}
$s=$z=$i='';
foreach($y as $k=>$v){$s.=base_convert($v,10,36);};
do{
for($x=0;$x<5;++$x){$z.=$s{2*$x+!$i};}
}while($i=!$i);
echo ucwords(substr($z,5).' '.substr($z,0,-5));
(No points for excessive length, then...)
[b]Broken Source:[/b]
Just Say
$x=null; $i=$null=true .true+1;do{echo printf
(pack( dechex($null),$null*3+1). dechex($null
),$i+++substr(constant("M_".(($x=!$x)?"":"2_"
)."PI"), (($i-$null)*(2<<1)+$x*(1<<2)) -! $x,
substr($null,~0))+1);}while($x);