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
Sum all key/value pairs within a multidimensional PHP array - Stack Overflow