PHP3���IJο��ֲ� ���ķ��룺Sadly [email protected] http://wansoft.soim.net | ||
---|---|---|
��һҳ | ��������ṹ | ��һҳ |
PHPͬʱ֧��scalar��associative���顣ʵ���ϣ���������û�����������ʹ�� array() �����������飬Ҳ��ֱ������ÿ������Ԫ�ص�ֵ��
$a[0] = "abc"; $a[1] = "def"; $b["foo"] = 13;
�������ͨ�� sort(), ksort() ��asort() ����������ȡ����Ҫ����ı��������͡�
�����ʹ��count()�������������Ԫ������
���ʹ��next() �� prev() ��������һ�����顣��һ������������ʹ�� each() ������