HH\could_include

Description

function HH\could_include(
  string $file,
): bool

Returns whether the (php) file could be included (eg if its been compiled into the binary). This is useful when you don't have a filesystem (RepoAuthoritative mode) but still want to know if including a file will work.

Parameters

  • string $file