apc_size

Find the in-memory size of a key in APC, for debugging purposes

function apc_size(
  string $key,
): ?int;

Parameters

  • string $key - The key to find the size of.

Returns

  • mixed - - Returns the current size of a key or null on failure.