A grandi linee
var mioArray = new Array();
mioArray = ['<?php echo tuoArrayPhp ?>']
č sottinteso che la array php deve essere riconoscibile da js