Classes / Constructors
Default constructor
Without any parameters
With parameters
With default parameter values
Call of the parent constructor
Call of its own constructor
Replacement of the parent constructor
<?php
class
Man
{
public
$name = "";
}
$man =
new
Man
();
print_r
($man);