php 7 oop class code example Example: how to make php oop class public className{ public function __construct(){ //CODE HERE } }