object name { public a; public b; public c; function __construct(a, b, c) { $this->a = $a; $this->b = $b; $this->c = $c; } } // In the code $x = new name(1, 2, "3");