Source Code:
(back to article)
<?php // An indexed array $colors = ["Blue", "White", "Green", "Black", "Yellow"]; echo json_encode($colors); ?>
Result:
Report an issue