[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: Alpha Parse error: parse error, ex

[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 of

[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 : a

[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: This does!: