OO PHP
##Object-Oriented PHP Based on Object-Oriented PHP for Beginners on Tutsplus
######What is Object-Oriented Programing?
######Why DRY?
####Objects and Classes
From here on, examples will be in PHP
#####Structuring Classes
Syntax:
<?php
class MyClass{
//Properties and methods
}
?>
After creating the class, declare the object:
$obj = new MyClass;
Use var_dump() to see the contents:
var_dump($obj);