#34317 [Opn->Fbk]: static variable is set to 0 after reload

From: Date: Wed, 31 Aug 2005 14:39:42 +0000
Subject: #34317 [Opn->Fbk]: static variable is set to 0 after reload
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84253@lists.php.net to get a copy of this message
ID: 34317 Updated by: sniper@php.net Reported By: abstractd at gmail dot com -Status: Open +Status: Feedback Bug Type: Class/Object related Operating System: Windows PHP Version: 5.1.0RC1 New Comment: Please don't put objects in $_SESSION as that doesn't really work and never will. Can you provide a reproducing script without using session? Previous Comments: ------------------------------------------------------------------------ [2005-08-31 15:24:31] abstractd at gmail dot com Description: ------------ When reloading the page, the values in the abstract baseclass is reinitialized. They should (atleast I think so) stay the same! Code: http://pastebin.com/350950 Is this a bug? Expected result: ---------------- Before reloading the page: B: 2 C: 2 After reloading the page: B: 2 C: 2 Actual result: -------------- Before reloading the page: B: 2 C: 2 After reloading the page: B: 0 C: 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34317&edit=1

« previous php.bugs (#84253) next »