1.a small cosmetics case with a mirror; to be carried in a woman's purse
2.a signed written agreement between two or more parties (nations) to perform some action
3.a small and economical car
4.closely and firmly united or packed together;
compact soil
5.closely crowded together;
a compact shopping center
6.heavy and compact in form or stature;
a wrestler of compact build
7.briefly giving the gist of something;
a short and compendious book
1.have the property of being packable or compactable or of compacting easily;
This powder compacts easily
2.compress into a wad;
wad paper into the box
3.make more compact by or as if by pressing;
compress the data
4.squeeze or press together;
she compressed her lips
定义和用法 compact() 函数创建一个由参数所带变量组成的数组。如果参数中存在数组,该数组中变量的值也会被获取。 本函数返回的数组是一个关联数组,键名为函数的参数,键值为参数中变量的值。 本函数执行的行为与 extract() 正好相反。语法 注释和提示 注释:任何没有变量名与之对应的字符串都被略过。 例子 1输出: 例子 2 使用没有对应变量名的字符串,以及一个变量名数组: 输出: