private static check_eaccelerator_saneness ( ) : boolean | ||
Результат | boolean | True if doc comments are fine, false otherwise |
private static function check_eaccelerator_saneness()
{
if (!extension_loaded('eaccelerator') && !extension_loaded('eAccelerator')) {
return true;
}
$method = new ReflectionMethod('Falcon_Autohooker', 'check_eaccelerator_saneness');
$comment = $method->getDocComment();
return strpos($comment, "If you can find me, it's sane.") !== false;
}