currently I'm facing a problem that I wasn't able to fix.
Example =>
We have this Array
$output = Array (
[0] => Array (
[name] => projects/christopher-hgkf/agent/sessions/6b61ac0d/contexts/welcome
[parameters] => Array (
[config.original] => Array ( )
[basics_welcome.original] =>
[password] => 1234
[email.original] => test@test.com
[language.original] => es
[password.original] => 1234
[basics_welcome] =>
[email] => test@test.com
[language] => es
)
)
[1] => Array (
[name] => projects/christopher-hgkf/agent/sessions/6b61ac0d/contexts/doctor
[parameters] => Array (
[language] => es
)
)
)
There's a way to find the array with the biggest amount of parameters?
mickmackusa Helped my with to solve this question with the use of
rsort($array);
var_export($output[0]['parameters']);