Found it hard to make a question title that can make sense. I'll explain better with an example:
$defaults = [
'user_posts' => [
'default_per_line' => 4,
'default_per_page' => [user 'default_per_line'] * 2,
],
'admin_posts' => [
'default_per_line' => 6,
'default_per_page' => [admin 'default_per_line'] * 2,
],
];
What I mean by 'user default_per_line' is using using the value already assigned as ['user_posts']['default_per_page'] and multypling it with 2 (or anything else).
Can it be done? If so how?