PHP 4.0 Bug #2034: Bug in ext/standard/var.c or ext/session/session.c
| From: | b at 123 dot org | Date: | Wed, 11 Aug 1999 18:41:15 +0000 |
| Subject: | PHP 4.0 Bug #2034: Bug in ext/standard/var.c or ext/session/session.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9756@lists.php.net to get a copy of this message | ||
From: b@123.org
Operating system: debian linux 2.2
PHP version: 4.0 Latest CVS (11/08/1999)
PHP Bug Type: Reproduceable crash
Bug description: Bug in ext/standard/var.c or ext/session/session.c
Try to load and then relaod this page:
----
<?php
session_start(); session_register("myobj");
class myclass {
var $slot = 1;
}
if ( !isset($myobj)) {
$myobj = new myclass();
$myobj->slot=4;
}
?>
<html>
<head>
</head>
<body>
<%=++$myobj->slot%>
</body>
</html>
----
it should produce "5" on the first load (and does this) and
"6" on the second load, which it doesnt.
Instead i get on my apache 1.3.6
----
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your
request.
Please contact the server administrator, boris@erdmann.com and inform them of the time the error
occurred, and
anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
----
Boris