"John Green" is OK."John-Paul" is not OK.Array ( [0] => Array ( [0] => 12 [1] => 34 [2] => 567 ) ) Match: 10 eggsGroup 1: 10Group 2: eggs