|
| Default values in associative array |
| Started by Nicolas Dewolf, Nov., 25 2025 10:03 AM - No answer |
| |
| | | |
|
| |
| Posted on November, 25 2025 - 10:03 AM |
I have an associative array of objects of a custom class.
When I try to check if a key exists with arr[key]..Exist , I never get 'false'. It always hallucinates some new object. To make it worse, it actually adds these 'new' object to the array.
How does this align with the following snippet from the help page?

|
| |
| |
| | | |
|
| | | | |
| | |
|