Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array constant in php

<?php
define("vehicles", [
  "car",
  "bike",
  "jcb"
]);
echo vehicles[0];		//car
?>
 
PREVIOUS NEXT
Tagged: #array #constant #php
ADD COMMENT
Topic
Name
8+1 =