While preparing some documentation for Joomla I noticed the following behaviour:
use Joomla\Registry\Registry;
...
$registry = new Registry();
$registry->set("x", null);
$exists = $registry->exists("x"); // returns false
I was rather surprised by this and just wanted to check if this was deliberate.
While preparing some documentation for Joomla I noticed the following behaviour:
I was rather surprised by this and just wanted to check if this was deliberate.