<?php class Person { public $id = 123; public $firstName = "John"; public $lastName = "Something"; public $address; public $city; public $zipCode; // etc. } $person = new Person; ?>
Standard input is empty
array(6) { ["id"]=> int(123) ["firstName"]=> string(4) "John" ["lastName"]=> string(9) "Something" ["address"]=> NULL ["city"]=> NULL ["zipCode"]=> NULL }