Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
imap /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
README.md
1.25
KB
-rw-rw-r--
2022-10-31 11:36
bug31142_1.phpt
1.16
KB
-rw-rw-r--
2022-10-31 11:36
bug31142_2.phpt
700
B
-rw-rw-r--
2022-10-31 11:36
bug32589.phpt
753
B
-rw-rw-r--
2022-10-31 11:36
bug35669.phpt
2
KB
-rw-rw-r--
2022-10-31 11:36
bug40854.phpt
1.16
KB
-rw-rw-r--
2022-10-31 11:36
bug44098.phpt
400
B
-rw-rw-r--
2022-10-31 11:36
bug45705_1.phpt
431
B
-rw-rw-r--
2022-10-31 11:36
bug45705_2.phpt
1.39
KB
-rw-rw-r--
2022-10-31 11:36
bug46918.phpt
1.51
KB
-rw-rw-r--
2022-10-31 11:36
bug53377.phpt
712
B
-rw-rw-r--
2022-10-31 11:36
bug63126.phpt
1.35
KB
-rw-rw-r--
2022-10-31 11:36
bug64076.phpt
562
B
-rw-rw-r--
2022-10-31 11:36
bug75774.phpt
508
B
-rw-rw-r--
2022-10-31 11:36
bug77020.phpt
306
B
-rw-rw-r--
2022-10-31 11:36
bug77153.phpt
649
B
-rw-rw-r--
2022-10-31 11:36
bug80213.phpt
420
B
-rw-rw-r--
2022-10-31 11:36
bug80215.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
bug80216.phpt
498
B
-rw-rw-r--
2022-10-31 11:36
bug80220.phpt
604
B
-rw-rw-r--
2022-10-31 11:36
bug80223.phpt
432
B
-rw-rw-r--
2022-10-31 11:36
bug80226.phpt
278
B
-rw-rw-r--
2022-10-31 11:36
bug80242.phpt
422
B
-rw-rw-r--
2022-10-31 11:36
bug80710_1.phpt
1.18
KB
-rw-rw-r--
2022-10-31 11:36
bug80710_2.phpt
1.22
KB
-rw-rw-r--
2022-10-31 11:36
clean.inc
732
B
-rw-rw-r--
2022-10-31 11:36
imap_8bit_basic.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
imap_alerts_error.phpt
875
B
-rw-rw-r--
2022-10-31 11:36
imap_append_basic.phpt
2.1
KB
-rw-rw-r--
2022-10-31 11:36
imap_base64_basic.phpt
1.01
KB
-rw-rw-r--
2022-10-31 11:36
imap_binary_basic.phpt
1.86
KB
-rw-rw-r--
2022-10-31 11:36
imap_body.phpt
1.23
KB
-rw-rw-r--
2022-10-31 11:36
imap_body_basic.phpt
1.18
KB
-rw-rw-r--
2022-10-31 11:36
imap_bodystruct_basic.phpt
1.96
KB
-rw-rw-r--
2022-10-31 11:36
imap_clearflag_full_basic.phpt
2.5
KB
-rw-rw-r--
2022-10-31 11:36
imap_close_basic.phpt
1.54
KB
-rw-rw-r--
2022-10-31 11:36
imap_close_error.phpt
1.27
KB
-rw-rw-r--
2022-10-31 11:36
imap_close_variation3.phpt
1.27
KB
-rw-rw-r--
2022-10-31 11:36
imap_close_variation4.phpt
2.38
KB
-rw-rw-r--
2022-10-31 11:36
imap_createmailbox_basic.phpt
2.06
KB
-rw-rw-r--
2022-10-31 11:36
imap_errors_basic.phpt
1.34
KB
-rw-rw-r--
2022-10-31 11:36
imap_expunge_error.phpt
673
B
-rw-rw-r--
2022-10-31 11:36
imap_fetch_overview_basic.phpt
1.87
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetch_overview_error.phpt
1.76
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetch_overview_variation3.phpt
2.12
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetch_overview_variation4.phpt
1.38
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetch_overview_variation5.phpt
2.33
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetch_overview_variation6.phpt
2.63
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchbody_basic.phpt
2.13
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchbody_error.phpt
1.68
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchbody_variation4.phpt
1.91
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchbody_variation5.phpt
1.28
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchbody_variation6.phpt
1.71
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchheader_basic.phpt
1.96
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchheader_error.phpt
1.54
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchheader_variation3.phpt
1.83
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchheader_variation4.phpt
1.32
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchheader_variation5.phpt
1.84
KB
-rw-rw-r--
2022-10-31 11:36
imap_fetchstructure_basic.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
imap_gc_error.phpt
918
B
-rw-rw-r--
2022-10-31 11:36
imap_getsubscribed_basic.phpt
1.63
KB
-rw-rw-r--
2022-10-31 11:36
imap_headerinfo_basic.phpt
2.15
KB
-rw-rw-r--
2022-10-31 11:36
imap_headerinfo_error.phpt
962
B
-rw-rw-r--
2022-10-31 11:36
imap_headers.phpt
652
B
-rw-rw-r--
2022-10-31 11:36
imap_include.inc
5.35
KB
-rw-rw-r--
2022-10-31 11:36
imap_list_basic.phpt
1.17
KB
-rw-rw-r--
2022-10-31 11:36
imap_lsub_basic.phpt
1.41
KB
-rw-rw-r--
2022-10-31 11:36
imap_mail_copy.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
imap_mail_copy_basic.phpt
1.13
KB
-rw-rw-r--
2022-10-31 11:36
imap_mail_move.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
imap_mail_move_basic.phpt
1.13
KB
-rw-rw-r--
2022-10-31 11:36
imap_mutf7_to_utf8.phpt
507
B
-rw-rw-r--
2022-10-31 11:36
imap_num_msg_error.phpt
652
B
-rw-rw-r--
2022-10-31 11:36
imap_num_recent_error.phpt
652
B
-rw-rw-r--
2022-10-31 11:36
imap_open_error.phpt
1.22
KB
-rw-rw-r--
2022-10-31 11:36
imap_ping_error.phpt
631
B
-rw-rw-r--
2022-10-31 11:36
imap_renamemailbox_basic.phpt
1.63
KB
-rw-rw-r--
2022-10-31 11:36
imap_rfc822_parse_headers_basic.phpt
1.98
KB
-rw-rw-r--
2022-10-31 11:36
imap_rfc822_write_address_basic.phpt
288
B
-rw-rw-r--
2022-10-31 11:36
imap_savebody_basic.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
imap_timeout_basic.phpt
1.31
KB
-rw-rw-r--
2022-10-31 11:36
imap_undelete_basic.phpt
477
B
-rw-rw-r--
2022-10-31 11:36
imap_undelete_error.phpt
944
B
-rw-rw-r--
2022-10-31 11:36
imap_utf8.phpt
387
B
-rw-rw-r--
2022-10-31 11:36
imap_utf8_to_mutf7_basic.phpt
568
B
-rw-rw-r--
2022-10-31 11:36
skipif.inc
519
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Test imap_close() function : usage variations - different ints as $options arg --SKIPIF-- <?php require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php /* Prototype : bool imap_close(resource $stream_id [, int $options]) * Description: Close an IMAP stream * Source code: ext/imap/php_imap.c */ /* * Pass different integers as $options arg to imap_close() to test which are * recognised as CL_EXPUNGE option */ echo "*** Testing imap_close() : usage variations ***\n"; require_once(__DIR__.'/imap_include.inc'); $inputs = array (0, 3.2768e4, -32768, PHP_INT_MAX, -PHP_INT_MAX); $stream_id = setup_test_mailbox('', 3, $mailbox); // set up temp mailbox with 3 messages // loop through each element of $inputs to check the behavior of imap_close() $iterator = 1; foreach($inputs as $input) { // mark added messages for deletion for ($i = 1; $i < 4; $i++) { imap_delete($stream_id, $i); } echo "\n-- Iteration $iterator --\n"; var_dump( $check = imap_close($stream_id, $input) ); // check that imap_close was successful, if not call imap_close and explicitly set CL_EXPUNGE if(false === $check) { imap_close($stream_id, CL_EXPUNGE); } else { // if imap_close was successful test whether CL_EXPUNGE was set by doing a message count $imap_stream = imap_open($mailbox, $username, $password); $num_msg = imap_num_msg($imap_stream); if ($num_msg != 0) { echo "CL_EXPUNGE was not set, $num_msg msgs in mailbox\n"; } else { echo "CL_EXPUNGE was set\n"; } // call imap_close with CL_EXPUNGE explicitly set in case mailbox not empty imap_close($imap_stream, CL_EXPUNGE); } $iterator++; // get $stream_id for next iteration $stream_id = imap_open($mailbox, $username, $password); populate_mailbox($stream_id, $mailbox, 3); }; ?> ===DONE=== --CLEAN-- <?php require_once(__DIR__.'/clean.inc'); ?> --EXPECTF-- *** Testing imap_close() : usage variations *** Create a temporary mailbox and add 3 msgs .. mailbox '{%s}%s' created -- Iteration 1 -- bool(true) CL_EXPUNGE was not set, 3 msgs in mailbox -- Iteration 2 -- bool(true) CL_EXPUNGE was set -- Iteration 3 -- Warning: imap_close(): invalid value for the flags parameter in %s on line %d bool(false) -- Iteration 4 -- Warning: imap_close(): invalid value for the flags parameter in %s on line %d bool(false) -- Iteration 5 -- Warning: imap_close(): invalid value for the flags parameter in %s on line %d bool(false) ===DONE===