Re: Can't find my error
| From: | Robert Cummings | Date: | Fri, 07 May 2010 15:26:56 +0000 |
| Subject: | Re: Can't find my error | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304984@lists.php.net to get a copy of this message | ||
Jan G.B. wrote:
2010/5/6 David McGlone <david@dmcentral.net>:Casts are an order of magnitude faster than function calls. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHPOn Wednesday 05 May 2010 16:19:35 Paul M Foster wrote:I would take this as a hint to prefer intval() instead of casts. initval($foo) would have drawn a fatal error - can't be overseen. ;)On Wed, May 05, 2010 at 01:03:41PM -0400, David McGlone wrote:I've been studying PHP for at least 2 years straight now, after dabbling in it for about a year 6 years ago. So even though I've had my nose to the grind for a good 2 years now, I don't think I can call my mistake a "rookie mistake". Thats what's frustrating to me. LOL -- Blessings, David M.On Wednesday 05 May 2010 12:51:00 Ashley Sheridan wrote:<snip>On Wed, 2010-05-05 at 12:55 -0400, David McGlone wrote:I've checked and checked and re-checked and I can't figure out what I've done wrong. I'm getting a parse error:WOW!!!! I have spent at least 4 hours reading and re-reading it and it took you 3 seconds. That was the problem. How, how, how could I have overlooked that so many times???? Thank you Ashley, I should have asked you 3 hours ago. ;-)Yeah, David, the rest of us are really disappointed in you. I mean, it's not like that's ever happened to *us*. ;-}