I have two arrays
<?php
$x=array('store1'=>'A','store2'=>'B' ,...);
?>
and
<script type='text/javascript'>
var x={"srote1": [12,13],"store2":[20,23] ....};
</script>
what is the optimal way to find the corresponding entries between these data structures
-> now you can compare these two arrays in javascript (if that’s what you need)