<?php // Declarar un array vacío //Sintaxis con array() $lista_de_series=array(); //Sintaxis short array valida a partir de PHP 5.4 $lista_de_series=[]; // Declarar un array con elementos //Sintaxis con array() $lista_de_series=array('El juego del calamar','Cobra kay','Love, Death and Robots','Sweet Tooth'); //Sintaxis short array $lista_de_series=['El juego del calamar','Cobra kay','Love, Death and Robots','Sweet Tooth']; // Acceder a un elemento de un array simple $indice=3; echo $lista_de_series[$indice]; ?>