Se ho una stringa:

$miadata = "040713";

come faccio a trasformarla in

$miadata = "13 july 2004";

???