[doc-en] master: Change 'Old adult' to 'Adult' in match.xml (#5525)

From: Date: Wed, 29 Apr 2026 22:15:16 +0000
Subject: [doc-en] master: Change 'Old adult' to 'Adult' in match.xml (#5525)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23262@lists.php.net to get a copy of this message
Author: Avery Brooks (sprky0) Committer: GitHub (web-flow) Pusher: TimWolla Date: 2026-04-30T00:15:13+02:00 Commit: https://github.com/php/doc-en/commit/840bdb9be79855ee4b2cc66c22cf3e88b781398a Raw diff: https://github.com/php/doc-en/commit/840bdb9be79855ee4b2cc66c22cf3e88b781398a.diff Change 'Old adult' to 'Adult' in match.xml (#5525) Removes lightly irritating ageist language from match syntax documentation. Changed paths: M language/control-structures/match.xml Diff: diff --git a/language/control-structures/match.xml b/language/control-structures/match.xml index f74bf7064644..cefc327413ea 100644 --- a/language/control-structures/match.xml +++ b/language/control-structures/match.xml @@ -65,7 +65,7 @@ $output = match (true) { $age < 2 => "Baby", $age < 13 => "Child", $age <= 19 => "Teenager", - $age >= 40 => "Old adult", + $age >= 40 => "Adult", $age > 19 => "Young adult", };

« previous php.doc.cvs (#23262) next »