Bug #728: copying an object with static var in constructor crashes
| From: | vogtner at soldan dot de | Date: | Tue, 08 Sep 1998 20:04:19 +0000 |
| Subject: | Bug #728: copying an object with static var in constructor crashes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-879@lists.php.net to get a copy of this message | ||
From: vogtner@soldan.de
Operating system: Linux 2.0.29/Apache 1.3.1 module
PHP version: 3.0.2a
PHP Bug Type: Reproduceable crash
Bug description:
<%
Class X {
function X ()
{
static $z = 0;
}
};
$a = New X;
$b = $a;
%>
[BTW: this is PHP 3.0.3. Could you add this version number
to the drop-down field of the bug report form?]
--
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