The solution would be to have this number array in person class.
(this is VB.NET, you have find the equivalent write-up for PHP)
Class Person
Public Property Name as String
Public Property Values() as Integer
End Class
Second solution would be: change second array into hashtable or dictionary with keys Person1, 2...and values from your second array. That way you can add/remove from the person as you wish.
Here is PHP primer[
^]