On Wed, 26 Mar 2003 17:08:25 -0000, you wrote: >Choosing between "case 0:" and (say) "case_identical 0:" would only be the >same as choosing between == and === in an if statement -- it would just give >the opportunity to do it using the elegant switch structure instead of the >clumsy if...elseif...else chain.
Why not something like this: $a = 0; switch (true) { case ($a === 'somestring'): ... break; case ($a === 0): ... break; } It's not pretty, but you might like it better than if...elseif...else... -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php