1.current

复制代码代码如下所示:

< PHP

$运输=阵列('foot ','bike ','car ','plane);

$模式=电流($运输); / / $模式= 'foot;

$模式=下($运输); / / $模式= 'bike;

$模式=电流($运输); / / $模式= 'bike;

模式=沪指美元($运输); / / $模式= 'foot;

$模式=端($运输); / / $模式= 'plane;

$模式=电流($运输); / / $模式= 'plane;

>



2.next

复制代码代码如下所示:

< PHP

$运输=阵列('foot ','bike ','car ','plane);

$模式=电流($运输); / / $模式= 'foot;

$模式=下($运输); / / $模式= 'bike;

$模式=下($运输); / / $模式= 'car;

模式=沪指美元($运输); / / $模式= 'bike;

$模式=端($运输); / / $模式= 'plane;

>



这些例子很简单,但很实用,希望合作伙伴能喜欢它。