diff --git a/Question10-class/Ex02.php b/Question10-class/Ex02.php index b7b5333..0440f02 100644 --- a/Question10-class/Ex02.php +++ b/Question10-class/Ex02.php @@ -14,3 +14,13 @@ * 8. 最後に、$us の各プロパティ (user_id, user_name, mail, password) の値を出力してください。 * */ +require_once __DIR__. '/User.php'; + +$us = new User (); + +$us ->user_id = 101; +$us ->user_name = 'リゾーム太郎'; +$us ->mail = 'rhizome@hoge.com'; +$us ->password = "1qazxcv"; + +$us ->say(); \ No newline at end of file