1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Fix typo: required (#3012)

This commit is contained in:
Lu Fei
2023-12-13 03:52:15 -06:00
committed by GitHub
parent 21191d3f9d
commit ac397fd0da
3 changed files with 4 additions and 4 deletions

View File

@@ -178,7 +178,7 @@
</row>
<row>
<entry><literal>x</literal></entry>
<entry>An expanded full numeric representation if requried, or a
<entry>An expanded full numeric representation if required, or a
standard full numeral representation if possible (like
<literal>Y</literal>). At least four digits. Years BCE are prefixed
with a <literal>-</literal>. Years beyond (and including)

View File

@@ -59,7 +59,7 @@ $base = new EventBase($cfg);
// Require FDS feature
if ($cfg->requireFeatures(EventConfig::FEATURE_FDS)) {
echo "FDS feature is now requried\n";
echo "FDS feature is now required\n";
$base = new EventBase($cfg);
($base->getFeatures() & EventConfig::FEATURE_FDS)
@@ -71,7 +71,7 @@ if ($cfg->requireFeatures(EventConfig::FEATURE_FDS)) {
&example.outputs.similar;
<screen>
<![CDATA[
FDS feature is now requried
FDS feature is now required
FDS - arbitrary file descriptor types, and not just sockets
]]>
</screen>

View File

@@ -605,7 +605,7 @@ $features = $base->getFeatures();
// Require FDS feature
if ($cfg->requireFeatures(EventConfig::FEATURE_FDS)) {
echo "FDS feature is now requried\n";
echo "FDS feature is now required\n";
$base = new EventBase($cfg);
($base->getFeatures() & EventConfig::FEATURE_FDS)