This is a useful tool to help you convert json object to array in php. It overcomes the inherent disadvantages of the var_export function, helping you to get a beautified php array.
To convert json to php array you can use json_decode($json_content,1) then combine with var_export to get php variable which is an array.
This way is also quite common used to cache php as a variable containing static data.
However, to use it in the source code when hard code is needed for maintenance and bug fixing, it doesn't seem very nice.
Because of:
With the tool to convert json content to php array will overcome the above disadvantages of var_export.