Posted by Schraalhans Keukenmeester on 09/27/46 11:46
Don wrote:
> Hi,
>
> The behavior between if else and switch is not different in PHP.
> However is there difference for the performance (I know in C it's
> different) while interpreting the script?
>
> Thanks in advance
>
> Don
Why don't you test it ? using microtime() this should be a piece of cake.
Which one should be faster in C according to your data?
Sh.
--
Sigh. I like to think it's just the Linux people who want to be on
the "leading edge" so bad they walk right off the precipice.
(Craig E. Groeschel)
Navigation:
[Reply to this message]
|