PHP Address Object

Create an object and display it.

Address Entry

Name: John Doe
Street: 1234 1st St
City: New York
State: NY
Zip: 12345

Change the object contents and display them.

New name is: Jane Doe

New city is: Los Angeles

New state is: CA

Address Entry

Name: Jane Doe
Street: 1234 1st St
City: Los Angeles
State: CA
Zip: 12345

Address Entry

Name: John Doe
Street:
City: New York
State: NY
Zip: