Lines Matching refs:class
7 class test
14 echo "New class $value created \n";
25 echo "Using old class " . self::$instance -> myname . "\n";
37 echo "Using old class " . $instance2 -> myname . "\n";
51 echo "Try static instance inside class :\n";
67 Try static instance inside class :
68 New class Singleton1 created
69 Using old class Singleton1
72 Using old class Singleton1
74 New class Singleton2 created
75 Using old class Singleton2
78 Using old class Singleton2