Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
test /
Contact_Vcard_Build /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
AllTests.php
3.46
KB
-rw-r--r--
bug-15348.phpt
1.44
KB
-rw-r--r--
build-email.phpt
985
B
-rw-r--r--
build-foobar.phpt
1019
B
-rw-r--r--
build-johndoe.phpt
2.21
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : build-foobar.phpt
--TEST-- Create a vcard 2.1 with ORG and different 'phones'. --SKIPIF-- <?php include_once 'Contact/Vcard/Build.php'; if (!class_exists('Contact_Vcard_Build')) { die('SKIP This test requires Contact_Vcard_Build.'); } --FILE-- <?php include_once 'Contact/Vcard/Build.php'; $vcard = new Contact_Vcard_Build('2.1'); $vcard = new Contact_Vcard_Build(); $vcard->setFormattedName('Bar Foo'); $vcard->setName('Bar', '', 'Foo', '', ''); $vcard->setTitle('FOOBAR'); $vcard->addOrganization('OHAI'); $vcard->addEmail('foobar@example.org'); $vcard->addTelephone('0900-foobar'); $vcard->addParam('TYPE', 'work'); $vcard->addTelephone('0900-foobar-cell'); $vcard->addParam('TYPE', 'cell'); $vcard->addTelephone('0900-foobar-fax'); $vcard->addParam('TYPE', 'fax'); var_dump($vcard->fetch()); --EXPECT-- string(205) "BEGIN:VCARD VERSION:3.0 PROFILE:VCARD FN:Bar Foo N:Bar;;Foo;; TEL;TYPE=work:0900-foobar TEL;TYPE=cell:0900-foobar-cell TEL;TYPE=fax:0900-foobar-fax EMAIL:foobar@example.org TITLE:FOOBAR ORG:OHAI END:VCARD "
Close