      -    
 . 
,   Coor     :     . 
   (),     ,  Init():

<?php
//    Coor:
class Coor {
//  ():
var $name;
var $city;
//  :
 function Init($name) {
 $this->name = $name;
 $this->city = "London";
 }
}
//    Coor:
$object = new Coor;
//      :
$object->Init();
?>

        , 
  -    ( new)     ( Init).

 ,  PHP ,         , 
     ,     (Coor):

function Coor ($name)
$this->name = $name;
$this->city = "London";
}
,  ,  . 
, PHP   ,      
  .