<?php
function matchKeys($testArray) {
$match = ['id', 'name', 'age', 'email', 'password', 'birthday', 'ip', 'time', 'token', 'sourse'];
return ($keys == $match);
}
$test1=['id'=>'2', 'name'=>'user', 'age'=>'27', 'email'=>'user@2ch.so',
'password'=>'gayporn', 'birthday'=>'1.4.88', 'ip'=>'127.0.0.1',
'time'=>'12:22', 'token'=>'wtf_is_that?', 'sourse'=>'saem_shit'];
$test2=['id'=>'1', 'name'=>'newuser', 'age'=>'27', 'email'=>'admin@2ch.so',
'password'=>'gayporn', 'birthday'=>'1.4.88', 'ip'=>'127.0.0.1',
'time'=>'12:22', 'sourse'=>'saem_shit'];
$test3 = $test1;
$a = matchKeys($test1);
$b = matchKeys($test2);
$c = matchKeys($test3);
?>
PD9waHAKZXJyb3JfcmVwb3J0aW5nKC0xKTsKCmZ1bmN0aW9uIG1hdGNoS2V5cygkdGVzdEFycmF5KSB7CgkkbWF0Y2ggPSBbJ2lkJywgJ25hbWUnLCAnYWdlJywgJ2VtYWlsJywgJ3Bhc3N3b3JkJywgJ2JpcnRoZGF5JywgJ2lwJywgJ3RpbWUnLCAndG9rZW4nLCAnc291cnNlJ107Cglzb3J0KCRtYXRjaCk7Cgkka2V5cyA9IGFycmF5X2tleXMoJHRlc3RBcnJheSk7Cglzb3J0KCRrZXlzKTsKCXJldHVybiAoJGtleXMgPT0gJG1hdGNoKTsKfQoKJHRlc3QxPVsnaWQnPT4nMicsICduYW1lJz0+J3VzZXInLCAnYWdlJz0+JzI3JywgJ2VtYWlsJz0+J3VzZXJAMmNoLnNvJywKCQkncGFzc3dvcmQnPT4nZ2F5cG9ybicsICdiaXJ0aGRheSc9PicxLjQuODgnLCAnaXAnPT4nMTI3LjAuMC4xJywKCQkndGltZSc9PicxMjoyMicsICd0b2tlbic9Pid3dGZfaXNfdGhhdD8nLCAnc291cnNlJz0+J3NhZW1fc2hpdCddOwoKJHRlc3QyPVsnaWQnPT4nMScsICduYW1lJz0+J25ld3VzZXInLCAnYWdlJz0+JzI3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