Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $carros = array("Gol","Uno","Chevette",13,32.1,true);
- var_dump($carros);
- if(is_array($carros)): //Verifica se é um array
- echo "É um array";
- else:
- echo "Não é um array";
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement