ID:               21953
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Session related
 Operating System: linux
 PHP Version:      4.3.0
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



Previous Comments:
------------------------------------------------------------------------

[2003-01-29 15:34:37] [EMAIL PROTECTED]

The following snippet:
$bunch=10;
$_SESSION['mail'] = (int)$_SESSION['mail'] + $bunch;
only works with the (int) in front of $_session.

Otherwise get "unsupported operand types" error.

This is mysterious, Session control in PHP should preserve type.
Typical Session file was as follows:
mail|i:-1;Mail_title|s:4:"test";Mail_body|s:4:"test";
you see mail was of type i.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21953&edit=1

Reply via email to