<!DOCTYPE html>
<html>
<body>
<p>下一个数组项的索引为 15:</p>
<pre>
<?php
$cars[5] = "Volvo";
$cars[7] = "BMW";
$cars[14] = "Toyota";
array_push($cars, "Ford");
var_dump($cars);
?>
</pre>
</body>
</html>