<!DOCTYPE html>
<html>
<body>
<?php
class MyClass {
public static $str = "Hello World!";
public static function hello() {
echo MyClass::$str;
}
echo "<br>";
echo MyClass::hello();
?>
</body>
</html>