, , .
, , , . , . , /. , , null.
Honestly, the implementation for this is valid in each case. If you had a custom class that you saved all the information in a single array, you could output $ user-> name from $ user-> account ['name'] or something like that.
In addition, in each case, you can make some changes before giving them values, for example, password hashing.
source
share