function split(input, chunkSize){
if(!chunkSize || !Array.isArray(input)){
return input;
}
const result = [];
for(let i = 0; i < input.length; i += chunkSize){
result.push(input.slice(i, chunkSize + i));
}
return result;
}
Model_Register();
$user = new Model_User();
$user->email = $email;
$user->username = $name;
$user->phone = $phone;
$user->password = $password;
$user->save();