|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-10-28 11:17 UTC] jeroen@php.net
[2001-10-28 11:19 UTC] jeroen@php.net
[2001-11-18 10:06 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jan 30 19:00:02 2026 UTC |
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; } ?>