hi there,
i have several classes that have the same function, the are called at different times, depending on different variables,
so what i need is something like
$class = 'test';
$return = $class::do_something();
but i get Parse error: parse error, unexpected t_paamayim_nekudotayim.
which from the looks of it means unexpected ::.
Update:
Also, why does doing it directly this way work on my localhost, but not on my prod server? is there a php_ini setting?