class in PHP

Classes are declared by using the class keyword followed by an identifier.
* PHP class has no class-level access modifier. 
* The name of the class follows the class keyword. The name of the class must be a valid identifier. 
* The remainder is the class body, where the class members are defined, including fields and methods.
```
<?php
//[class] - [identifier]
class Program {
    // Fields and methods go here...
	public $v = "Main";
};

// Create a new object
$main = new Program;
echo $main->v;
?>
```
PHP does not support local class or nested class.