Bug #972: *Document contains no data* received after a lot of loops
| From: | arneodo at initiative dot fr | Date: | Fri, 04 Dec 1998 20:18:01 +0000 |
| Subject: | Bug #972: *Document contains no data* received after a lot of loops | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2669@lists.php.net to get a copy of this message | ||
From: arneodo@initiative.fr
Operating system: Linux RedHat 5.1
PHP version: 3.0.5
PHP Bug Type: Reproduceable crash
Bug description: *Document contains no data* received after a lot of loops
// 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";
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net