On Jul 20, 2007 1:09 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> This isn't necessarily a brain-teaser, but it's still pretty cool.
> Dice (the employment site) has a new advertisement out there that
> says the following:
>
> ====
> What's missing from your job?
>
> <?php
> format = 'The %2s contains %1d orders';
> printf(format, num, location);
> ?>
> ====
>
> I thought it was a pretty simple form of genius, so to speak.
They're baaaack!
This was something that came to mind when discussing loop
detection in language processing.
<?
function wheel($test) {
if($test == 1) {
return 1;
} else {
$insanity = "Same result.";
wheel(0);
}
}
wheel(0);
?>
--
Daniel P. Brown
[Phone Numbers Go Here!]
[They're Hidden From View!]
If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php