Anonymous | Login | Signup for a new account | 12-17-2024 10:51 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003165 | [Quercus] | minor | always | 12-12-08 13:41 | 12-14-08 12:58 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 4.0.0 | ||||
Product Build | |||||||||
Summary | 0003165: resin_restore_state doesn't reset static variables | ||||||||
Description |
<?php if (! resin_restore_state()) { class Foo { public static $arr = array(); } resin_save_state(); } Foo::$arr[] = 'x'; print_r(Foo::$arr); Load this page repeatedly and the array will have an additional element each time. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0003612) koreth 12-12-08 13:43 |
Static variables in functions appear to be fine; this is just static class fields. |
(0003623) ferg 12-14-08 12:58 |
php/404h |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |