reference/event/eventbase/getfeatures.xml
28529d3539b850e870e3aa97570f4db0e53daa03
...
...
@@ -40,16 +40,16 @@
40
40
// Avoiding "select" method
41
41
$cfg = new EventConfig();
42
42
if ($cfg->avoidMethod("select")) {
43
-
echo "`select' method avoided\n";
43
+
echo "'select' method avoided\n";
44
44
}
45
45

46
46
$base = new EventBase($cfg);
47
47

48
48
echo "Features:\n";
49
49
$features = $base->getFeatures();
50
-
($features & EventConfig::FEATURE_ET) and print("ET - edge-triggered IO\n");
51
-
($features & EventConfig::FEATURE_O1) and print("O1 - O(1) operation for adding/deletting events\n");
52
-
($features & EventConfig::FEATURE_FDS) and print("FDS - arbitrary file descriptor types, and not just sockets\n");
50
+
($features & EventConfig::FEATURE_ET) and print "ET - edge-triggered IO\n";
51
+
($features & EventConfig::FEATURE_O1) and print "O1 - O(1) operation for adding/deleting events\n";
52
+
($features & EventConfig::FEATURE_FDS) and print "FDS - arbitrary file descriptor types, and not just sockets\n";
53
53
?>
54
54
]]>
55
55
</programlisting>
56
56