PHP Classes

Deprecated: trim(null)

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  Deprecated: trim(null)  >  (Un) Subscribe thread alerts  
Subject:Deprecated: trim(null)
Summary:The class is using deprecated trim(null)
Messages:2
Author:abc def
Date:2024-01-14 21:56:25
 

  1. Deprecated: trim(null)   Reply   Report abuse  
Picture of abc def abc def - 2024-01-14 21:56:25
With PHP 8.1 I get the message

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/mimeparser/rfc822_addresses.php on line 615

  2. Re: Deprecated: trim(null)   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2024-01-15 02:46:37 - In reply to message 1 from abc def
Hello,

Thank you for reporting.

Can you provide a minimal example script so I can try to reproduce and fix the issue?