A Admin • 828.03K Points Coach Q. Give an example, how to define a constant array in PHP? (A) const cities = new array(["New Delhi","Mumbai","Banglore"]); (B) define("cities"=["New Delhi","Mumbai","Banglore"]); (C) define("cities", ["New Delhi","Mumbai","Banglore"]); (D) define("cities":["New Delhi","Mumbai","Banglore"]); Correct Answer - Option(C) Views: 12 Filed under category PHP Hashtags: Share Manage Tags
Discusssion
Login to discuss.