七夕节看着大家都很无聊,小杰给大家new给对象,收好了,不谢。
<?php class girlFriend{ public $name = 'momo'; public $age = 18; public $height = 1.7; public $weight = 90; public $size = [92.8,64.8,94.5]; public $assets = 121380000; } $girl = new girlFriend(); echo '名字:'.$girl->name.',年龄:'.$girl->age.',身高:'.$girl->height.',体重:'.$girl->weight.',三围:'.$girl->size[0] .' '. $girl->size[1] .' '. $girl->size[2].',资产:'.$girl->assets; ?>
有朋友问小姐姐长得如何,不多说,上图吧。
发表评论: