Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<?php
class MyClass {
  public $number = 0;
}
$obj = new MyClass();
$obj->number = 5;
echo "The number is " . $obj->number;
?>
</body>
</html>
The number is 5