X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php84-pecl-uploadprogress_2.0.2-1.el8/tests
opt
/
alt
/
tests
/
alt-php84-pecl-uploadprogress_2.0.2-1.el8
/
tests
/
📁
..
📄
bug58318.phpt
(442 B)
📁
mocks
📄
uploadprogress_get_contents_basic.phpt
(1.08 KB)
📄
uploadprogress_get_contents_error001.phpt
(520 B)
📄
uploadprogress_get_contents_error002.phpt
(519 B)
📄
uploadprogress_get_contents_error003.phpt
(498 B)
📄
uploadprogress_get_contents_error004.phpt
(718 B)
📄
uploadprogress_get_contents_variation001.phpt
(438 B)
📄
uploadprogress_get_contents_variation002.phpt
(449 B)
📄
uploadprogress_get_contents_variation003.phpt
(505 B)
📄
uploadprogress_get_contents_variation004.phpt
(456 B)
📄
uploadprogress_get_contents_variation005.phpt
(491 B)
📄
uploadprogress_get_contents_variation006.phpt
(964 B)
📄
uploadprogress_get_info_basic.phpt
(671 B)
📄
uploadprogress_get_info_error001.phpt
(435 B)
📄
uploadprogress_get_info_error002.phpt
(363 B)
📄
uploadprogress_get_info_error003.phpt
(376 B)
📄
uploadprogress_get_info_error004.phpt
(607 B)
📄
uploadprogress_get_info_variation001.phpt
(696 B)
📄
uploadprogress_get_info_variation002.phpt
(309 B)
📄
uploadprogress_get_info_variation004.phpt
(700 B)
Editing: uploadprogress_get_info_variation004.phpt
--TEST-- uploadprogress_get_info - Trims whitespace around keys and values --SKIPIF-- <?php if (!extension_loaded('uploadprogress')) exit('skip extension not loaded'); --FILE-- <?php ini_set('uploadprogress.file.filename_template', dirname(__FILE__) . '/mocks/get_info/upt_%s.txt'); $info = uploadprogress_get_info('variation004'); var_export($info); --EXPECTF-- array ( 'upload_id' => 'file005', 'fieldname' => 'uploadFile', 'filename' => 'a value with spaces in it', 'time_start' => '1579893044', 'time_last' => '30', 'speed_average' => '300', 'speed_last' => '300', 'bytes_uploaded' => '1592342', 'bytes_total' => '3000000', 'files_uploaded' => '1', 'est_sec' => '45', )
Upload File
Create Folder