From: admin at nexusfor dot com
Operating system: WIN NT
PHP version: 4.3.2
PHP Bug Type: Session related
Bug description: problem with array of objects stored in session vars
Description:
------------
When I read an array of objects saved in a session variable I cannot
access object's variables.
Print_r reports:
Array ( [0] => __PHP_Incomplete_Class Object (
[__PHP_Incomplete_Class_Name] => class_voucher_dettaglio [descrizione] =>
A3 [gg] => 1 [periodi] => 1 [base] => 23 [totale] => 23 )
This problem appears only when php retrieves variable from session_file
(that appear correct)
Reproduce code:
---------------
while (list ($key, $val ) = each ($_SESSION ["PREV_DETTAGLIO"] ) )
{
echo ($val->dettaglio);
}
Expected result:
----------------
list of values
Actual result:
--------------
nothing
--
Edit bug report at http://bugs.php.net/?id=24202&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24202&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24202&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24202&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24202&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24202&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24202&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24202&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24202&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24202&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24202&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24202&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24202&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24202&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24202&r=gnused