Nilai Lofarray Konsol PHP
echo "<script>console.log(JSON.parse('" . json_encode($data) . "'));</script>";
Literate Lentil
echo "<script>console.log(JSON.parse('" . json_encode($data) . "'));</script>";