Bug #12188: Object with Sessiona
| From: | wedro at gmx dot net | Date: | Mon, 16 Jul 2001 15:19:57 +0000 |
| Subject: | Bug #12188: Object with Sessiona | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-60104@lists.php.net to get a copy of this message | ||
From: wedro@gmx.net
Operating system:
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: Object with Sessiona
class A {
var $a;
function add(){
$this->a++;
}
}
session_register('a');
if (!is_object($a)){
$a = new A();
}
$a->add();
print_r($a);
========================================================================================================================
Modules :
"./configure" \
"--with-iconv" \
"--with-mysql" \
"--with-apxs=/usr/local/apache/bin/apxs" \
"--with-xml" \
"--with-sablot" \
"--with-swf=/usr/local/src/dist" \
"-enable-sysvsem" \
"-enable-sysvshm" \
"-enable-trans-sid" \
"-enable-track-vars" \
"-enable-register-globals" \
"$@"
============================================================
--
Edit bug report at: http://bugs.php.net/?id=12188&edit=1