Name
hash_create — create a hash
Synopsis
hash_create
Description
This function returns a new, empty, hash table. You may use hash_set
to set elements in the hash, and use array style syntax to retrieve the value of an element:
$hash = hash_create;
hash_set $hash "mykey" "myvalue";
$value = $hash["mykey"];
ec_log "The value is ${value}";
See Also
Was this page helpful?