Convert PHP arrays to JavaScript object format with customizable indentation, variable declaration, and formatting options. Supports both indexed and associative arrays.
Paste your PHP array code here
Your converted JavaScript object will appear here