运行 ❯
获取您
自己的 PHP
服务器
×
更改方向
更改主题,暗色/亮色
进入 Spaces
<!DOCTYPE html> <html> <body> <?php $cars=array ( "Volvo"=>array ( "XC60", "XC90" ), "BMW"=>array ( "X3", "X5" ), "Toyota"=>array ( "Highlander" ) ); echo "Normal count: " . count($cars)."<br>"; echo "Recursive count: " . count($cars,1); ?> </body> </html>