Simplest way to create an array from an associative array which its contains keys and values?

For example if i have an associative array like this:

["one":"1", "two":"2"]

What's the easiest way to create a dynamic array that looks like this:

["one", "1", "two", "2"]

I know it can be done via a loop, but is there a more idiomatic way to achieve this?

Reply via email to