declare array_test and print_r it
Array
(
[one] => 1
[two] => 2
[three] => 3
[four] => ΓΌ
)
json_encode and print and print_r it
print{"one":1,"two":2,"three":3,"four":"\u00fc"}
print_r{"one":1,"two":2,"three":3,"four":"\u00fc"}declare file_url and print it
file_url/opt/www/tango.info/x/json/array_test.jsonfile_put_contents file_url json_test
https://tango.info/x/json/test with array_stats
Array
(
[_do] => ,person,musician,lyricist,danceteacher,deejay,photographer,festival,marathon,country,locality,venue,link,product,track,performance,work,video,
)