| 3 | | I provided a new patch, where `$key` is also supported to be an array, so it works in the same way like the other two functions. Open question: If `$key` is an array and one of its keys is not available as query argument, should the result array include the key with value `NULL` or should it just be left out? For `isset()` it wouldn't matter, but for `array_key_exists()` it would. Leaving it out would make the function code a bit simpler, but it would also mean there could be notices if a user simply tries to access a key that is not set. |
| | 3 | I provided a new patch with [attachment:34699.diff], where `$key` is also supported to be an array, so it works in the same way like the other two functions. Open question: If `$key` is an array and one of its keys is not available as query argument, should the result array include the key with value `NULL` or should it just be left out? For `isset()` it wouldn't matter, but for `array_key_exists()` it would. Leaving it out would make the function code a bit simpler, but it would also mean there could be notices if a user simply tries to access a key that is not set. |