Copiar la matriz PHP a JavaScript
var js_array = [<?php echo '"'.implode('","', $php_array).'"' ?>];
Jolly Jaguar
var js_array = [<?php echo '"'.implode('","', $php_array).'"' ?>];