--- Tom Rogers <[EMAIL PROTECTED]> wrote:
> This is why you need this construct
> 
> $foo = 0;
> switch (true)

You must have missed example 1. :-)

> which now works as expected

Both examples work as expected, of course.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to