ID:               26671
 Comment by:       elizabeth at ctyalcove dot org
 Reported By:      memoimyself at yahoo dot com dot br
 Status:           No Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Windows 2000 SP 4
 PHP Version:      4.3.4
 New Comment:

oops, silly me - syntax error - problem fixed :)


Previous Comments:
------------------------------------------------------------------------

[2004-02-04 01:30:43] elizabeth at ctyalcove dot org

?
$test = 'c';

switch($test)
{
case 'c' :
print('cccc');

case 'd' :
print('dddd');

default:
print('problem');
}
?>

expected output:
cccc

actual output:
ccccddddproblem

Debian Sid GNU/Linux
php4 version 4.3.3-5

------------------------------------------------------------------------

[2004-01-01 20:48:20] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-12-20 09:07:39] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Can you see if it's fixed in this one?

------------------------------------------------------------------------

[2003-12-20 09:01:46] memoimyself at yahoo dot com dot br

Yes, I am positive. In fact, I was getting this error when debugging a
class I'd written. I then created a simple test script (which I posted
here) by typing (not by copying and pasting) everything again, and the
error came up again. If I comment out the "default:" line, everything
works well. Damned if I know what's going on. :-)

------------------------------------------------------------------------

[2003-12-19 18:43:08] [EMAIL PROTECTED]

Works fine for me, same system:

D:\PHP>php test.php
Content-type: text/html
X-Powered-By: PHP/4.3.4

a
D:\PHP>

Are you sure, that you don't have some control-character or anything
like that in your code? Please retest.


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26671

-- 
Edit this bug report at http://bugs.php.net/?id=26671&edit=1

Reply via email to