hphp_crash_log

Adds an entry to a log file that's written when server crashes

function hphp_crash_log(
  string $name,
  string $value,
): void;

This is useful for diagnose why server crashed. For example, logged-on user's ID.

Parameters

  • string $name - Name of the value.
  • string $value - Value to write to log.

Returns

  • void