The code at bottom crashes apache when run on a windows. I have tried
both PHP/4.3.9 with Apache/1.3.27 and PHP/5.0.3 with Apache/2.0.49, same
thing happens.
Same code runs fine under Linux (PHP/4.3.4 with Apache/2.0.48)
On http://bugs.php.net/ there is a couple of bug reports on the same,
but 1 is closed and the others has status "bogus".
Does anybody know what that is all about?
/Bent
<?php
header('Content-Type: text/plain');
function tick_function() {
echo "..tick..\n ";
}
register_tick_f unction('tick_f unction');
declare(ticks=1 );
echo "line 1\n";
echo "line 2\n";
echo "line 3\n";
?>
both PHP/4.3.9 with Apache/1.3.27 and PHP/5.0.3 with Apache/2.0.49, same
thing happens.
Same code runs fine under Linux (PHP/4.3.4 with Apache/2.0.48)
On http://bugs.php.net/ there is a couple of bug reports on the same,
but 1 is closed and the others has status "bogus".
Does anybody know what that is all about?
/Bent
<?php
header('Content-Type: text/plain');
function tick_function() {
echo "..tick..\n ";
}
register_tick_f unction('tick_f unction');
declare(ticks=1 );
echo "line 1\n";
echo "line 2\n";
echo "line 3\n";
?>