dseguy, French
@dseguy@phpc.social avatar

8.2 has the #[SensitiveParameter] attribute that hides values in debug messages.

There is also the SensitiveParameterValue class, that does the same, while working from the caller perspective. Get the value with $object->getValue()

https://3v4l.org/KrViH

https://www.php.net/manual/en/class.sensitiveparameter.php

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • InstantRegret
  • ngwrru68w68
  • everett
  • mdbf
  • modclub
  • rosin
  • osvaldo12
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Youngstown
  • GTA5RPClips
  • slotface
  • kavyap
  • JUstTest
  • ethstaker
  • tacticalgear
  • tester
  • cubers
  • Durango
  • normalnudes
  • khanakhh
  • Leos
  • anitta
  • cisconetworking
  • provamag3
  • megavids
  • lostlight
  • All magazines