Hyvor Developer
  Home   Download   Copy
Code
<?php
class MyClass {
	public static function callMe() {
		echo "Hyvor!";
	}
	public function __construct() {
		self::callMe();
	}
}
MyClass::callMe();
echo "<br>";
new MyClass();
Result