comment taper la coulée et la remplacement en php

<?php

   $array = array(
    1    => "a",
    "1"  => "b",
    1.5  => "c",
    true => "d",
);
var_dump($array);

?>
Gaurav Dixit