note 14061 rejected and deleted from language.oop.serialization.php by zak
| From: | zak@php.net | Date: | Mon, 16 Jul 2001 21:11:30 +0000 |
| Subject: | note 14061 rejected and deleted from language.oop.serialization.php by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15452@lists.php.net to get a copy of this message | ||
I can't launch with code :
class stati {
var $a;
function stati()
{
$this->a=1;
}
function statin()
{
$this->a++;
}
}
session_start();
if(!session_is_registered("kl")){
session_register("kl");
$kl = new stati();
echo $kl->a;
}
else {
$kl->statin();
echo "-".$this->a;
}
WHY?