array(2) {
[0]=>
string(3) "Ray"
[1]=>
string(4) "Pren"
}
New hires:
Ray, Pren
array(3) {
[0]=>
string(4) "Mike"
[1]=>
string(4) "Anne"
[2]=>
string(4) "Joel"
}
Employees:
array(4) {
[0]=>
string(3) "Ray"
[1]=>
string(4) "Pren"
[2]=>
string(4) "Fred"
[3]=>
string(3) "Amy"
}
New Hires:
---- After splicing ----
array(6) {
[0]=>
string(4) "Mike"
[1]=>
string(4) "Anne"
[2]=>
string(3) "Ray"
[3]=>
string(4) "Pren"
[4]=>
string(4) "Fred"
[5]=>
string(3) "Amy"
}
Employees:
array(4) {
[0]=>
string(3) "Ray"
[1]=>
string(4) "Pren"
[2]=>
string(4) "Fred"
[3]=>
string(3) "Amy"
}
New hires:
Mike, Anne, Ray, Pren, Fred, Amy