FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Switch question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Switch question [message #184601 is a reply to message #184599] Sun, 12 January 2014 17:22 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Sun, 12 Jan 2014 11:48:48 -0500, richard wrote:

> The manual for PHP switch shows no examples on how to use multiple
> values for the same case.

Oh, and just to clarify, you also need to add "I am incapable of
reading." and "I tell lies." to your cv as well.

There is a very clear example on the manual page of matching against
multiple values to execute a single set of statements.

Does this mean we're going to spend the next 5 years debugging your
fucked up switch statements?

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: signed int64 pack/unpack
Next Topic: Trouble connecting to a PHP SoapServer module
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 10:33:32 GMT 2024

Total time taken to generate the page: 0.05428 seconds