PHP has the SensitiveParameter attribute for treating fields/variables as sensitive.
https://www.php.net/manual/en/class.sensitiveparameter.php