- var_dump: documentation ( source)
<?php
$user = new \StdClass;
$user->name="Daria";
$user->date_birth="15/12/1993";
$user->city="Odessa";
$user->country="Ukraine";
$user->height="172";
$user->weight="52";
$user->body_type="Slim";
$user->education="College";
$user->occupation="student";
$user->drinking="Occasionally";
$user->smoking="Never";
$user->color_eye="Green";
$user->color_hair="Light-Brown";
$user->marital_status="Never married";
$user->count_children="0";
$user->eng_level="Intermediate";
$user->other_langs="";
$user->religion="Christianity";
$user->looking_for="I am looking for serious relationship here. I believe that friendship is a good base for relationship. I miss a positive, kind, romantic, faithful, honest and caring man next to me. It is very important for me to have similar outlook with my loving man and to share the same values.";
$user->description="I'm a sunshine girl. I have a very active lifestyle. I prefer healthy life. I'm a very unpredictable person in a good way course! I like to make presents and look to reaction. I like to try new things and travel a lot. I m sure that I will be a good and lovely mother as I love kids very much!";
foreach ($user as $key => $value) {
var_dump([$key => $vlaue]);
}