xhprof_enable

Starts xhprof profiling

function xhprof_enable(
  int $flags = 0,
  array $args = array (
),
): void;

For details on how to use this function, please refer to http://mirror.facebook.net/facebook/xhprof/doc.html.

Parameters

  • int $flags = 0 - One of those XHPROF_FLAGS_ constant to specify what to profile.
  • array $args = array ( ) - Extra argument to reserve for future use.

Returns

  • void