multiple cases for switch construct


/ Published in: PHP
Save to your folder(s)

put case value1:case value2:case value3: to allow the same code be executed when the value passed equals value1 or value2 or value3.

URL: http://www.nutt.net/2004/12/28/multiple-cases-for-switch-construct/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.