I've got nearly 100 public static variables in a class that goes like this:
namespace Stats;
class City {
public static $name = '';
public static $mayor = '';
public static $population = '';
public static $gdp = '';
/* more like these */
}
Is there any way to group all these variables into one 'public static' statement so it looks like this?
namespace Stats;
class City {
public static {
$name = '';
$mayor = '';
$population = '';
$gdp = '';
}
}