private function errorMayHaveOccurred()
{
if (defined('HHVM_VERSION')) {
// In HHVM token_get_all() does not throw warnings, so we need to conservatively
// assume that an error occurred
return true;
}
$error = error_get_last();
return null !== $error && false === strpos($error['message'], 'Undefined variable');
}