EventBase::getFeatures Returns bitmask of features supported &reftitle.description; public int EventBase::getFeatures Returns bitmask of features supported. &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns integer representing a bitmask of supported features. See EventConfig::FEATURE_* constants . &reftitle.examples; <function>EventBase::getFeatures</function> example avoidMethod("select")) { echo "`select' method avoided\n"; } $base = new EventBase($cfg); echo "Features:\n"; $features = $base->getFeatures(); ($features & EventConfig::FEATURE_ET) and print("ET - edge-triggered IO\n"); ($features & EventConfig::FEATURE_O1) and print("O1 - O(1) operation for adding/deletting events\n"); ($features & EventConfig::FEATURE_FDS) and print("FDS - arbitrary file descriptor types, and not just sockets\n"); ?> ]]> &reftitle.seealso; EventBase::getMethod EventConfig