// figure 6-2 from "introduction to php" by leon atkinson include "userclass.php"; $currentuser = new user; $currentuser->init( "yoda","jedi" ); print( "name = ".$currentuser->name."
" ); print( "last login = ".$currentuser->getLastLogin() ); ?>