If I have a class called myclass does having static methods within the class affect its size in memory?
class myclass{
public $instancevar;
public static function method1(){}
public static function method2(){}
}
Will the addition of more static methods make instances of myclass larger?
I know that static methods are shared between instances of a class but will adding more or larger static methods impact on the size of the object in memory at all? Similarly will having more static methods affect execution time if I pass an instance to a method as an argument?