ID: 21886 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback -Bug Type: Class/Object related +Bug Type: Session related Operating System: Linux 7.2 PHP Version: 4.3.0 New Comment:
Then you must also know that some behaviour of them was fixed in 4.3.0 and most likely you're just relying on the broken behaviour...can't really tell without a short and complete example script. Previous Comments: ------------------------------------------------------------------------ [2003-02-14 04:21:08] [EMAIL PROTECTED] I am sorry, actually I do not have time, I hope I can give you an example in the next two days - sorry for that (but your first reply took more than two days :-). But - it is NOT an misunderstanding how sessions work. I am using sessions since the beginning of PHP 4 and the same code is running under 4.2.3 perfect. Regards, Sebastian ------------------------------------------------------------------------ [2003-02-13 12:40:12] [EMAIL PROTECTED] [EMAIL PROTECTED]: Please open your own report about this, seems like the original reporter of this bug is not responding and your problem seems a bit different. (IMO, neither of these are bugs, just misunderstanding how sessions work) ------------------------------------------------------------------------ [2003-02-13 11:04:18] [EMAIL PROTECTED] Ooops! I please forgive my mistake, in my last post, switch the call from: $bar->myecho("apple, orange"); to: $bar->myecho("apple", "orange"); ------------------------------------------------------------------------ [2003-02-13 11:00:57] [EMAIL PROTECTED] Here is an example. class foo { // constructor, etc. function myecho($string1, $string2) { echo "String 1: " . $string1 . "\n"; echo "String 2: " . $string2 . "\n"; } }; $bar = new foo(); $bar->myecho("apple, orange"); Will output one of these 3 possibilities, at random (or so it seems:) String 1: apple String 2: orange String 1: orange String 2: String 1: String 2: Weird, eh? and rerunning the same code does not always give the same results. I guess it's clearer now. ------------------------------------------------------------------------ [2003-02-13 02:01:03] [EMAIL PROTECTED] Please provide a complete but short example that _clearly_ shows the problem. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21886 -- Edit this bug report at http://bugs.php.net/?id=21886&edit=1