<?php
class test_d
{
private $var = "class prueba de variable";
private $b = array();
public function __construct()
{
for ($i = 0; $i < 10; $i++)
$this->b[] = new option($i,"option $i");
}
public function get__b()
{
return $this->b;
}
public function get__tr()
{
return $this->b;
}
public function set__b($value)
{
$this->b = $value;
}
public function get__var()
{
return $this->var;
}
public function set__var($value)
{
$this->var = $value;
}
}
?>