简单教程
提交运行
代码编辑器:
<?php $cars=array("Volvo","BMW","Toyota"); $arrlength=count($cars); for($x=0;$x<$arrlength;$x++) { echo $cars[$x]; echo "<br>"; } echo '<p>PHP 基础教程 - 简单教程(www.twle.cn)</p>';
运行结果: