1
I have a class I’m trying to pick up Session from this way:
session_start();
class metodoClass{
....
public $usuario = $_SESSION["Usuario"];
....
}
But when I do that, it makes the mistake: Constant Expression contains invalid Operations.
How can I fix this?
Thank you gmsantos.
– user24136