0

in evey tutorial they said you should make an array with "array()" but I realize that I can also make it with "[]" what are the difference?

array() :

$a = array("red","blue","green");

[] :

$a = ["red","blue","green"];
jasmine
  • 57
  • 5

0 Answers0