2
In this static function all variables return their respective values, except $funcionario
which is an array.
Where am I going wrong?
class Dtb{
public static $funcionarios =['M','G','N','I'] ;
public static $atividades='Sistemas';
public static $temp=12;
}
echo Dtb::$funcionarios;
echo Dtb::$atividades;
echo Dtb::$temp;
Now you can vote positive on all posts on the site, including here, except yours, of course.
– Maniero