<!DOCTYPE html> <html> <body> <?php $cars=array("porsche","BMW","Volvo"); echo count($cars); ?> </body> </html>