Hyvor Developer
  Home   Download   Copy
Code
<?php
class MyClass {
	public static $name = 'Hyvor';
	public function __construct() {
		echo 'We are ' . self::$name;
	}
}
echo MyClass::$name . '<br>';
MyClass::$name = 'Hyvor Developer';
new MyClass();
Result