|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #972 *Document contains no data* received after a lot of loops
Submitted: 1998-12-04 15:17 UTC Modified: 1999-11-28 17:42 UTC
From: arneodo at initiative dot fr Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.5 OS: Linux RedHat 5.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: arneodo at initiative dot fr
New email:
PHP Version: OS:


 [1998-12-04 15:17 UTC] arneodo at initiative dot fr
// Increase $loop if you don't receive "Document contains no data"
// this seems to work on NT4 but not on RedHat

function f1($s){
  $a = $s;
  return $a;
function f2($s){
  $a = $s;
  return $a;
function f3($s){
  $a = $s;
  return $a;

function run($s, $h1, $h2, $h3){
  $loop = 1000000;
  for( $i = $loop ; $i > 0 ; $i-- ) {
    $h1( (string) $i );
    $h2( (string) $i );
    $h3( (string) $i );

run( "test", 'f1', 'f2', 'f3' );
echo "Test is OK";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-28 17:42 UTC] rasmus at cvs dot php dot net
Please resubmit if you can still reproduce this bug.  I can't reproduce it here.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Jan 31 08:03:45 2023 UTC