constructor php code example Example: php constructor __construct ([ mixed $args = "" [, $... ]] ) : void