PHP - pass array(key-value pair) as an argument instead of comma separated individual arguments · Issue #641 · OpenAPITools/openapi-generator · GitHub
![Freek Van der Herten 🔭 on X: "Did you know you can typehint array keys? @phpStorm will recognise the docblock and provide autocompletion. Example taken from https://t.co/hgGBeYNIid #php https://t.co/vQwlRyPLMc" / X Freek Van der Herten 🔭 on X: "Did you know you can typehint array keys? @phpStorm will recognise the docblock and provide autocompletion. Example taken from https://t.co/hgGBeYNIid #php https://t.co/vQwlRyPLMc" / X](https://pbs.twimg.com/media/FkHLOtmWQAIUx6l.jpg:large)
Freek Van der Herten 🔭 on X: "Did you know you can typehint array keys? @phpStorm will recognise the docblock and provide autocompletion. Example taken from https://t.co/hgGBeYNIid #php https://t.co/vQwlRyPLMc" / X
![PHP: Passing the JSON of Key-Value Array to Javascript: via Ajax vs direct echoing out - Stack Overflow PHP: Passing the JSON of Key-Value Array to Javascript: via Ajax vs direct echoing out - Stack Overflow](https://i.stack.imgur.com/3Iz4R.png)