Do this:
create an include file which defines an array. in your constructor, do:
constructor() {
include ("bigarray.inc");
foreach ($bigarray as $varname => $varvalue) {
$this -> $varname = $varvalue;
}
}
I think you should evalutate if you are using classes correctly, however as I seldom see the need for many instance variables in a class.