On Wed, Sep 10, 2008 at 12:03 AM, John Campbell <[EMAIL PROTECTED]> 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/ _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php