Clear __MemoizeLSB data

  • if $func is non-null, clear cache for $cls::$func
  • if $func is null, clear all LSB memoization caches for $cls
namespace HH;

function clear_lsb_memoization(
  string $cls,
  ?string $func = NULL,
): bool;

Operates on a single class at a time. Clearing the cache for $cls::$func does not clear the cache for $otherClass::$func, for any other class.


  • string $cls
  • ?string $func = NULL