public Memory put(Object key, Memory value) {
        return putWithCallback(key, value, null);
    }
Puts a key-value mapping into this map.

@param key   the key to add
@param value the value to add
@return the value previously mapped to this key, null if none
jphp-runtime/src/php/runtime/memory/support/ArrayMemoryMap.java