## Used## Static test code:
echo MAX_UPLOAD_SIZE; exit;
## Dynamic test code:
ini_set('memory_limit', '');
## Test Plan
# Put static test codede in the `index.php`, defined above,after `$application->Init();`
# Put dynamic test code in the `index.php`, afterbefore `$application->Init();`
# Confirm that right MAX_UPLOAD_SIZE, calculated by this task logic, is displayed, using given value variations, where first and second value are set in php.ini, for upload_max_filesize and post_max_size, restarting web server on change, and third value - is set as second parameter in the dynamic test code:
* 1G, 75000K, '50M' => 52428800
* 1G, 75000K, '100M' => 76800000
* 300000, 7500K, '100M' => 300000
* 300000, 0, '100M' => 300000
# Open home page * 300000, 4K, '-1' => 4096
# Confirm that right MAX_UPLOAD_SIZE * 300000, calculated by this task logic0, is displayed'-1' => 300000