Programming Code Center(PCC)
[PHP]

(PCC)::[How-to-Create-a-Array-constant-with-define()-function-in-php]::[php]

File Name : index.php

<!DOCTYPE html>
<html>
<body>

<?php
define("cars", [
    "Alfa Romeo",
    "BMW",
    "Toyota"
]);
echo cars[0];
?> 

</body>
</html>

Output :