[nycphp-talk] Re: Weird Switch Behavior
Michael B Allen
ioplex at gmail.com
Wed Sep 10 03:53:21 EDT 2008
On Wed, Sep 10, 2008 at 12:03 AM, John Campbell <jcampbell1 at gmail.com> wrote:
> Hi Mike,
>
> Maybe a simple way around this is just to use:
>
> switch("$key")
>
> It makes it pretty clear that you are only dealing with strings, and
> you won't have to deal with casting issues.
Clever solution.
--
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/
More information about the talk
mailing list