Re: PHP Brain Teasers
| From: | Daniel Brown | Date: | Tue, 03 Jul 2007 15:06:01 +0000 |
| Subject: | Re: PHP Brain Teasers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258143@lists.php.net to get a copy of this message | ||
On 7/3/07, Jay Blanchard <jblanchard@pocket.com> wrote:
[snip]"One in a thousand" ? -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107So I'll double-whammy it with a "Name That Tune" factor: <?php class Thread {var $wheel; function Thread (){ $this->wheel = 'roun\''; }} while($wheel = new Thread()); ?>"The wheel goes roun and roun" [sic][/snip] if($x == 0.01 || $x == 1.0){$y = "in";}