[PHP-DEV] Bug #11447 Updated: Switch statement sensible for white-space

2001-06-20 Thread per . persson
ID: 11447 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating system: Linux (RedHat 6.2) PHP Version: 4.0.4pl1 Description: Switch statement sensible for white-space Observe that the spaces are significant. This doesn't work: ? switch($var){ ? ?

[PHP-DEV] Bug #11447 Updated: Switch statement sensible for white-space

2001-06-19 Thread per . persson
ID: 11447 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating system: Linux (RedHat 6.2) PHP Version: 4.0.4pl1 Description: Switch statement sensible for white-space Which style I use, the classical style (using {}) or the alternative style (using : and

[PHP-DEV] Bug #11447: Switch statement sensible for white-space

2001-06-18 Thread per . persson
From: [EMAIL PROTECTED] Operating system: Linux (RedHat 6.2) PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: Switch statement sensible for white-space The following script gave a parse error: ? switch($var): ? ? case alpha: ? pAlpha/p

[PHP-DEV] Bug #11447 Updated: Switch statement sensible for white-space

2001-06-18 Thread per . persson
ID: 11447 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating system: Linux (RedHat 6.2) PHP Version: 4.0.4pl1 Description: Switch statement sensible for white-space Section 7.4 in the FAQ is a little bit related. Should perhaps the ending for a block