<!DOCTYPE html>
<html>
<body>

<?php
$keys=array("a","b","c","d");
$a1=array_fill_keys($keys,"blue");
print_r($a1);
?>


</body>
</html>