PATH:
opt
/
alt
/
tests
/
alt-php81-pecl-uploadprogress_2.0.2-1.el8
/
tests
--TEST-- uploadprogress_get_contents - Warns when too few arguments --SKIPIF-- <?php if (!extension_loaded('uploadprogress')) exit('skip extension not loaded'); if (PHP_MAJOR_VERSION >= 8) exit('skip test not valid on PHP 8'); --INI-- uploadprogress.get_contents = On --FILE-- <?php $contents = uploadprogress_get_contents('fileIdentifier'); var_dump($contents); --EXPECTF-- Warning: uploadprogress_get_contents() expects at least 2 parameters, 1 given in %suploadprogress_get_contents_error002.php on line %d NULL
[-] uploadprogress_get_contents_variation003.phpt
[edit]
[-] uploadprogress_get_contents_error003.phpt
[edit]
[-] uploadprogress_get_info_error001.phpt
[edit]
[-] uploadprogress_get_info_variation002.phpt
[edit]
[-] uploadprogress_get_contents_variation005.phpt
[edit]
[-] uploadprogress_get_contents_error002.phpt
[edit]
[-] uploadprogress_get_contents_variation004.phpt
[edit]
[-] uploadprogress_get_info_error004.phpt
[edit]
[-] uploadprogress_get_info_variation004.phpt
[edit]
[-] uploadprogress_get_info_error002.phpt
[edit]
[-] uploadprogress_get_contents_variation006.phpt
[edit]
[-] uploadprogress_get_info_error003.phpt
[edit]
[-] uploadprogress_get_contents_variation002.phpt
[edit]
[-] uploadprogress_get_contents_variation001.phpt
[edit]
[+]
..
[-] uploadprogress_get_contents_basic.phpt
[edit]
[-] uploadprogress_get_info_basic.phpt
[edit]
[+]
mocks
[-] uploadprogress_get_contents_error001.phpt
[edit]
[-] uploadprogress_get_contents_error004.phpt
[edit]
[-] bug58318.phpt
[edit]
[-] uploadprogress_get_info_variation001.phpt
[edit]