Date: 10/27/01
- Next message: Leszek Krupinski: "[PHP-DOC] cvs: phpdoc /en/language oop.xml"
- Previous message: hholzgra <email protected>: "[PHP-DOC] Bug #9356 Updated: settype thinks 0.2 and (1.2 - 1) have different values"
- Next in thread: jeroen <email protected>: "[PHP-DOC] Bug #13850 Updated: CASE within SWITCH may crash apache"
- Reply: jeroen <email protected>: "[PHP-DOC] Bug #13850 Updated: CASE within SWITCH may crash apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: oxnoxo <email protected>
Operating system: Windows 2000 Pro SP1
PHP version: 4.0.4
PHP Bug Type: Documentation problem
Bug description: CASE within SWITCH may crash apache
The following script raised an error in apache (1.3.19)permantly. The error
message describes an "Memory Write Problem".
The reason are the operators after CASE. If they are removed
the script runs without errors.
The error can be reproduced.
I've tried it with different activated modules in PHP but the problem
persists.
I think it should be better to put this into the documentation.
<?php
$foo = 20
switch($foo)
{
case <50:
echo "Less than 50";
break;
case >50 && <100
echo "Between 50 and 100";
break;
default:
echo "100";
break;
}
?>
-- Edit bug report at: http://bugs.php.net/?id=13850&edit=1
- Next message: Leszek Krupinski: "[PHP-DOC] cvs: phpdoc /en/language oop.xml"
- Previous message: hholzgra <email protected>: "[PHP-DOC] Bug #9356 Updated: settype thinks 0.2 and (1.2 - 1) have different values"
- Next in thread: jeroen <email protected>: "[PHP-DOC] Bug #13850 Updated: CASE within SWITCH may crash apache"
- Reply: jeroen <email protected>: "[PHP-DOC] Bug #13850 Updated: CASE within SWITCH may crash apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

