The doc about array_flip https://www.php.net/manual/en/function.array-flip.php says it can return null on failure.
Is that true? I could not find such case in the source code.
If it's true, shouldn't the function signature be changed to reflect the nullable return value?
So either the signature is not correct or the null return value is not true.
The doc about array_flip https://www.php.net/manual/en/function.array-flip.php says it can return null on failure.
Is that true? I could not find such case in the source code.
If it's true, shouldn't the function signature be changed to reflect the nullable return value?
So either the signature is not correct or the null return value is not true.