spacious/sparse — pull request #1 by akagomez (2012-11-19 17:21:26+00:00)
Title: has() returns null on empty array

I was having an issue where my empty arrays where not being returned with `get()`. I tracked down the problem and found that `has()` was using `empty()`. Since an empty array returns true with `empty()`, Sparse replaced my value with `NULL`.

Replaced `empty()` with `array_key_exists()`.