Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
| From: | Rasmus Lerdorf | Date: | Sat, 26 Nov 2005 00:36:13 +0000 |
| Subject: | Re: Re: PHP 5.1 (Or How to break tousands of apps out there) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20467@lists.php.net to get a copy of this message | ||
Ian P. Christian wrote:
On Friday 25 November 2005 22:15, Rasmus Lerdorf wrote:I must be missing something. How is switch whitespace sensitive? This works fine: switch(1):case 1:echo'foo';break;endswitch; -RasmusIt is completely inconsistent with the rest of PHP.like how its case sensitive except when it's not.... and how array functions start array_, except when they don't. if (): is valid, while(): is valid, but you can't do it with switch, because.. well, it's white space sensitive.