Re: Can't find my error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 07 May 2010 11:26:56 Robert Cummings wrote:
> Jan G.B. wrote:
> > 2010/5/6 David McGlone <david@xxxxxxxxxxxxx>:
> >> On Wednesday 05 May 2010 16:19:35 Paul M Foster wrote:
> >>> On Wed, May 05, 2010 at 01:03:41PM -0400, David McGlone wrote:
> >>>> On Wednesday 05 May 2010 12:51:00 Ashley Sheridan wrote:
> >>>>> 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:
> >>>
> >>> <snip>
> >>>
> >>>> 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*. ;-}
> >>
> >> 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.
> >
> > 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. ;)
>
> Casts are an order of magnitude faster than function calls.

Ok y'all lost me waaaaaaaay back there... LOL

Is there some type of function I can write to catch up?		

-- 
Blessings,
David M.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux