<!DOCTYPE html>
<html>
<body>
<?php
class Fruit {
public $name;
}
$apple = new Fruit();
$apple->name = "Apple";
echo $apple->name;
?>
</body>
</html>