Bug #12188 Updated: Object with Sessiona

From: Date: Mon, 16 Jul 2001 15:37:09 +0000
Subject: Bug #12188 Updated: Object with Sessiona
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60109@lists.php.net to get a copy of this message
ID: 12188 Updated by: hholzgra Reported By: wedro@gmx.net Old Status: Open Status: Feedback Bug Type: Unknown/Other Function Operating System: PHP Version: 4.0.6 New Comment: ... and the problem is ... ? Previous Comments: ------------------------------------------------------------------------ [2001-07-16 11:19:57] wedro@gmx.net 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 this bug report at http://bugs.php.net/?id=12188&edit=1

« previous php.dev (#60109) next »