xref: /PHP-8.1/ext/imap/tests/bug45705_1.phpt (revision 39131219)
1--TEST--
2Bug #45705 test #1 (imap rfc822_parse_adrlist() modifies passed address parameter)
3--EXTENSIONS--
4imap
5--FILE--
6<?php
7
8$address = 'John Doe <john@example.com>';
9var_dump($address);
10imap_rfc822_parse_adrlist($address, '');
11var_dump($address);
12
13?>
14--EXPECT--
15string(27) "John Doe <john@example.com>"
16string(27) "John Doe <john@example.com>"
17