Re: Re: PHP Brain Teasers
| From: | Daniel Brown | Date: | Fri, 20 Jul 2007 18:09:05 +0000 |
| Subject: | Re: Re: PHP Brain Teasers | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259220@lists.php.net to get a copy of this message | ||
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 for of genius, so to speak.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107