|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-06-28 11:11 UTC] vanbeek at q-factor dot nl
This bug occurs with Mod_PHP4.2.1 under apache. When htmlentities is called with ENT_QUOTES as the second parameter and without a third parameter (I didn't test _with_ a third parameter) the script's output stops right at that point. I am not the machines administrator and hence cannot supply further details. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 06:00:01 2025 UTC |
A very short reproduction script: <?php for ($i = 0; $i < 1000; $i++) echo "$i\n"; echo htmlentities ('hello world!', ENT_QUOTES); ?> When called from the browser, this script yields all values van 0 to 984, then stops. The fact that the values from 985 to 999 are missing would indicate that apache doesn't get to flush its buffers (and has indeed crashed). As i am not the systems admin, I cannot find out much more. I can see that the server process doesn't crash as a whole, but it might be possible that a thread crashes (if that is even possible under SunOS; under linux a crashing thread takes down the process as well) You can see this happening at http://www.scheltema.nl/test.php Greetings, Pieter van Beek