[pear/Mail] 8cfaa0: Fix trimming of adressess with array_map (#32)

[email protected] ("Ammar A. via pear-cvs") Sun, 22 Oct 2023 05:59:19 -0700
Newsgroups php.pear.cvs
Message-ID <pear/Mail/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/pear/Mail
  Commit: 8cfaa01d9621abc9baaf1de5cbe6007dbc556e90
      https://github.com/pear/Mail/commit/8cfaa01d9621abc9baaf1de5cbe6007dbc556e90
  Author: Ammar A <[email protected]>
  Date:   2023-10-20 (Fri, 20 Oct 2023)

  Changed paths:
    M Mail/RFC822.php

  Log Message:
  -----------
  Fix trimming of adressess with array_map (#32)

[array_map)(https://www.php.net/manual/en/function.array-map.php) returns new array as result, it does not work on the passed array in-place. This is true for PHP versions back to 4.3.0 (https://3v4l.org/FkJHL), the lowest available version on 3v4l.org.

This was first introduced in 4bab5604aa and probably never worked since then.