How to pass a JSON string in Command line with PHP
If you try to pass a JSON string as a command line argument in the Terminal like this: It is expected to that $argv[1] will contain the JSON string. But unfortunately, it gets chunked. This is what you get when you do a print_r : This is not desired. We want the whole JSON string […]