registry_set
php
bool registry_set(string $rejestr, string $wartosc)Writes $wartosc to the registry named $rejestr. Returns true if the registry is updated successfully, or false if a problem occurs.
Example:
php
$set = registry_set("my registry", "These contents are saved in the registry");
if ($set == true) {
print('The registry has been set');
} elseif ($set == false) {
print('Something went wrong');
}Result:
The registry has been set