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

2001-07-15 Thread zeev
ID: 11447 Updated by: zeev Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Scripting Engine problem Operating System: Linux (RedHat 6.2) PHP Version: 4.0.4pl1 New Comment: Spaces are indeed significant. Here's why. Is equivalent to The two spaces outside

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

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

2001-06-19 Thread vlad
ID: 11447 Updated by: vlad Reported By: [EMAIL PROTECTED] Old-Status: Bogus Status: Open Bug Type: Scripting Engine problem Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: The bug is valid - if you close and reopen the PHP tags between the switch and the case statement, it is go

[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-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-18 Thread sniper
ID: 11447 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Scripting Engine problem Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: Use the {} instead of the : / endswitch; ie. Alpha And anyway, using too much is real