Wartości lofarray konsoli PHP
echo "<script>console.log(JSON.parse('" . json_encode($data) . "'));</script>";
Literate Lentil
echo "<script>console.log(JSON.parse('" . json_encode($data) . "'));</script>";