'How to collect data from array loop

My Array :

array(1) {  
[0] => int(9)
}
array(1) {
[0] => int(86)
}

I want array sum int(9) + int(86) how can I do it ?

echo 95 //



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source