<?php
/* this tests the contact_info class */
/*use include to get all the class definition code */
include ("contact_info.php");
/* because the class code is included, now we could declare a new contact_info class object */
$my_contact = new contact_info("Jason"); /* this calls the constructor and pass name to the class object */
/* now we set some information using the class contact_info's class functions */
/* the function sets the value for class variables phone_number & name */
$my_contact->set_phone_number("888-999-1111");
$my_contact->set_note("Jason is a great coder and designer.");
/* call the class function to print out the contact information */
echo $my_contact->print_contact_info();
?>